Skip to content
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

Menu positioning issue on mobile when the keyboard is opened #6008

Open
dobosalpar opened this issue Feb 13, 2025 · 0 comments
Open

Menu positioning issue on mobile when the keyboard is opened #6008

dobosalpar opened this issue Feb 13, 2025 · 0 comments
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@dobosalpar
Copy link

"react-select": "^5.9.0",

On mobile clicking on the react-select component the keyboard is opened and the component itself is being moved to the upper side of the screen avoiding to be hidden by the keyboard. In these cases the menu is not positioned on the right place. See the screenshot:

Image

Here the component implementation:
<div className="relative"> {React.createElement<SelectProps<any>>( Select, { isMulti: false, menuPortalTarget: isServer() ? null : document.body, menuPosition: 'fixed', menuPlacement: 'auto', ...props, }, )} </div>

@dobosalpar dobosalpar added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

1 participant