joeattardi / picmo

JavaScript emoji picker. Any app, any framework.
https://picmojs.com
MIT License
1.19k stars 117 forks source link

When I toggle on picker the page jumps up #203

Closed reflexLabs closed 2 years ago

reflexLabs commented 2 years ago

I notice that when I toggle on the emoji picker it cause the window to scroll up a bit to fit the picker to screen, how can I cancel it?

joeattardi commented 2 years ago

It could be a Popper.js issue. Try experimenting with the position options?

Can you fork this CodeSandbox (https://codesandbox.io/s/picmo-popup-demo-6fyoew) and see if you can provide a reproducible case with it?

Thanks!

joeattardi commented 2 years ago

@reflexLabs Any update on this?

reflexLabs commented 2 years ago

Hey sorry for late reply, On the link you sent above I don't have the issue, probably something wrong on my side but how can I investigate it further? cuz I have no idea how to track the issue

joeattardi commented 2 years ago

I can't see what's going on if you don't provide a working code example. Please create a CodePen/CodeSandbox or the like with your code that exhibits the issue. Thanks!

joeattardi commented 2 years ago

Closing due to no response. Feel free to reopen in the future if you can provide some sample code.