svelte-material-ui icon indicating copy to clipboard operation
svelte-material-ui copied to clipboard

Select not behaving correctly in Dialog

Open CryptAlchemy opened this issue 3 years ago • 1 comments

Describe the bug The Select element is not setting the correct max height when applying the menu$fixed={true} prop to it. The Select is contained within a Dialog.

To Reproduce Open this Repl and scale your browser window vertically to be small, like on a phone. Open the dropdown menu and you'll see that it overflows off the screen.

Expected behavior This REPL is a vanilla material-components-web implementation and how it should behave. Scale your window like before and open the dropdown; you'll see that the height scales correctly and the items are scrollable.

Desktop (please complete the following information):

  • OS: Windows 10 Pro (10.0.19044 Build 19044)
  • Browser Microsoft Edge (102.0.1245.30)
  • Version: @smui/select (^6.0.0-beta.16)

Thank You and Best Regards!

Final Notes Trying to make the Select and the Dialog work together appropriately like in this issue.

CryptAlchemy avatar Jun 07 '22 18:06 CryptAlchemy

Turns out that this is a duplicate of #242.

CryptAlchemy avatar Jun 30 '22 02:06 CryptAlchemy