Select dropdown size and layout break when scaled
See original GitHub issueWhat package has an issue
Describe the bug
Scaling the Select component breaks the dropdown size and layout
Initially the size of the dropdown seems to be calculated correctly but its positioned wrong. After moving focus or hover it gets placed correctly (centred) but gets sized as scale 1
example transform: scale(0.75)
In which browser did the problem occur
Chrome, Firefox
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/xenodochial-feather-rozeyb
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
No
Possible fix
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Select Dropdown going out of screen in mobile view
Edit: Try putting position: absolute with width: 100%. should pull that div outside of the container. You're asking an element to stretch wider ......
Read more >scale() - CSS: Cascading Style Sheets - MDN Web Docs
The scale() CSS function defines a transformation that resizes an element on the 2D plane. Because the amount of scaling is defined by...
Read more >Scale a worksheet - Microsoft Support
Click the Page Layout tab on the ribbon. In the Scale to Fit group, in the Width box, select 1 page, and in...
Read more >[Solved] allow zoom without affecting layout - CSS-Tricks
Currently, I have many media query breakpoints. Another example here: Let say, I have a device with 480px width, by default (100%) it...
Read more >How to insert and remove page breaks in Excel - Ablebits
Pick the needed columns and select the Insert Page Break option from ... you may have the Fit To scaling option selected (Page...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
positionDependencies
were added to Select, MultiSelect and Autocomplete components in 4.2.2 release.It is an issue with Popper.js, hopefully it will be fixed in v5 after migration to floating ui