-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Dropdown Component: Hidden menu div can exceed with dimensions of the plugin window causing scrollbars to appear unintentionally #97
Comments
Curious how I can set up a local development version of Create Figma Plugin and test changes to fix this? If I make progress, happy to contribute directly with a PR. |
There’s a script to symlink to the local copy of Create Figma Plugin from your plugin. Instructions are in the README: https://github.com/yuanqing/create-figma-plugin/blob/8b63d7bb9a12351d4d3a43ab7b9085e62f7e9f43/README.md#contributing |
@aashreys – The fix for this bug is currently on the |
Tested locally. Still seeing the scrollbars and now a new bug where the dropdown menu jumps around as I move the cursor over it. Attached a video. Prototyper.Dropdown.Test.-.minified.mp4Thanks for looking into this! |
Oof this is a weird one. (In the Storybook, the UI works OK while in dev tools and in “Responsive” mode.) Just pushed a fix! |
Yep this fixed it. Dropdowns work as expected and scrollbars do not appear. |
Fixed in |
I'm placing two Dropdown components side-by-side in a div flexbox and the hidden menu component on the rightmost dropdown is exceeding the bounds of the window causing a horizontal scrollbar, as shown in the picture below.
If I reduce the width of the hidden menu through developer tools, the scrollbar disappears once the menu fits the plugin window dimensions.
The text was updated successfully, but these errors were encountered: