-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Updating dir on page doesn't consistently update components. #3016
Comments
I think this is just #2079 |
Closing this one. Let's use #2079 |
IMO we should remove the RTL switch from the demo page header. It sends the wrong impression- that components will dynamically update their UI and display mirrored after a dir change on the root html tag. Or are we actually saying that "our components programmatically respond to dir changes"? It really seems like the only true way to test rtl is to add the |
@caripizza This is the end goal. If we get complaints, we should prioritize removing |
I understand it will help yes, but what is the use case for dynamically responding to dir updates? Is there an app somewhere that's actually asking for this behavior and if so can you specify? |
I'm not sure if anyone is asking for it but it's the best practice for having a component automatically work correctly when the text direction changes. Otherwise we have to rely on a re-render of the component. Our story should be that we should handle CSS |
Actual Behavior
In the demo pages, when turning the RTL toggle on, components don't consistently re-render. Accordion is a good example.
Expected Behavior
Updating
dir
should result in a consistent behavior across components.Reproduction Steps or Sample
Relevant Info
Version:
@esri/calcite-components@<version>
The text was updated successfully, but these errors were encountered: