mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.87k stars 1.9k forks source link

Add popper.js behavior for Select dropdown #202

Closed Kukkimonsuta closed 3 years ago

Kukkimonsuta commented 3 years ago

Package: @mantine/core

When select appears on bottom of the page the dropdown is shown outside of viewport.

As discussed on discord this is non-trivial and has accessibility implications.

image

318097 commented 3 years ago

Please do this. Mantine is the most perfect UI library but only auto-positioning of the dropdown is missing.

rtivital commented 3 years ago

@318097 this is a pretty complex issue due to usability, I'm busy with other things right now so I'll be waiting for someone from community to work on this

achmurali commented 3 years ago

Hi @rtivital , I can have a look on this.

rtivital commented 3 years ago

@achmurali there are several things to consider:

muco-rolle commented 3 years ago

@achmurali are you working on this? I would like to help.

rtivital commented 3 years ago

@muco-rolle it's a hard issue, I would not recommend working on this, I'll work on it myself when time comes

rtivital commented 3 years ago

Released in 3.2