lucca-front
lucca-front copied to clipboard
[lu-department-select] Dropdown's direction the first time it is opened
The lu-department-select
dropdown does not seem to be opened in the right direction the first time it is opened. Here is an example where the dropdown's direction is Down even though it should have been Up :
https://user-images.githubusercontent.com/8553617/165918259-8844c703-4802-4c71-ae1a-d9108fde4a3c.mp4
My guess is that the component does not know if the data which will be displayed will fit, so it chooses the Down direction by default