-
Notifications
You must be signed in to change notification settings - Fork 160
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
fix(localemodal): disable region button when no countries present #7840
fix(localemodal): disable region button when no countries present #7840
Conversation
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
Deploy preview created for package Built with commit: aac56626274ab669c86058b7204d2aedadfef1dc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! the empty region is disabled properly now
@kennylam hey for web components, the tile doesn't look disabled: How it looks in React: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after rechecking on narrower viewports, it looks like there's a little weird hover effect on the disabled tile in web components
Screen.Recording.2021-12-09.at.11.05.59.AM.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good! then I think we can merge after restoring the removed locales for testing
I left Europe disabled to match the web components version made in this PR. Should we enable them again? |
No let's keep them both to match where Europe is disabled. |
Related Ticket(s)
#7831
Description
Fixes a bug in
LocaleModal
where the region button is still clickable even when no countries of that region are available.Note:
Europe
has been disabled for testing purposes.Changelog
Changed
preview.html
by region