everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
907 stars 47 forks source link

Input validation example doesn't position dropdown correctly #45

Closed hinok closed 3 years ago

hinok commented 4 years ago

Hey, I think that input validation example has a small issue with positioning dropdown in one case.

Demo below

Zrzut ekranu 2020-05-22 o 20 49 24

Gif

demo

everweij commented 3 years ago

Hi @hinok , Sorry for my late response, and thanks for noticing this! I've updated most of the examples and this bug should be gone by now. You can check out the new version here: https://storybook.react-laag.com/?path=/docs/password-validation--page

everweij commented 3 years ago

I will close this issue for now. Feel free to open a new issue if you spot something odd, or want to report something else!

hinok commented 3 years ago

Hey @everweij I think that the issue still exists here https://storybook.react-laag.com/?path=/docs/password-validation--page

Look at the video

Kapture 2020-12-18 at 11 02 02

On the other hand I cannot replicate that buggy behaviour here: https://storybook.react-laag.com/?path=/docs/popover-menu--page, so maybe it's just a matter of proper configuration?

everweij commented 3 years ago

@hinok thanks, Apparently, I forgot to add the "left-center" placement as possible-placement in the options. I've pushed a small fix, so the layer should be visible on the left side as well :)