-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Columns slider: Number of columns reset to 1 when using Tab+Shift #34363
Comments
Hey @TeBenachi , I checked this issue at my end & this seems to be fixed. Reference - https://d.pr/v/WEWD3B Can you please check again? Let me know if I am missing something. Regards |
Thank you for checking. Having the focus move to the number box does not cause to reset, however |
I tried to reproduce this with WP 5.8 and could not. I used Brave (Version 1.28.105 Chromium: 92.0.4515.131) on macOS 10.12.6. @TeBenachi, it would be helpful if we could know the OS and browser you encounter this issue with. It could also help to know the versions of OS/browser and WordPress too. |
I can reproduce this in Firefox on macOS. Probably Firefox on any OS will be the same. I think what is happening is that in the RangeControl component, holding Shift changes the
So it appears that Firefox is rounding to the nearest valid value upon To avoid this we'll probably have to change how we apply the |
Since the |
While I may go ahead and re-title this issue as it can actually happen with any almost any StorybookAlso showing that you can recreate it withShift + click): range-control-shift-tab-reset-storybook.mp4Spacer blocks height controlrange-control-shift-tab-reset-spacer-height.mp4Cover blocks overlay opacity control:range-control-shift-tab-reset-cover-opacity.mp4 |
Description
After adding the columns using the columns slider in the sidebar, the columns slider resets to 1 when moving the focus back using Tab + Shift key.
The number of columns is expected not to change.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Pre-checks
The text was updated successfully, but these errors were encountered: