Closed olehnoskov-cengage closed 1 month ago
🚀 Deployed on https://storybook-preview-1451--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://docs-preview-1451--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1451--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://docs-preview-1451--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1451--upbeat-sinoussi-f675aa.netlify.app
In the scope of this ticket, the ability to detect the viewport and position certain components was integrated via https://floating-ui.com/ for some components:
Feat: #62 Issue: #958
What I did
Screenshots:
Screencast from 25.09.24 14:15:32.webm
Checklist
How to test
Storybook -> Combobox Storybook -> Date picker Storybook -> Dropdown -> Flipped Items Storybook -> Select
For all of these components, nothing should be changed.
If we want to test the new feature, we can use react magma docs and open this components in CodeSandBox to test it with some components in the case, when there isn't enough room for the Combobox, Date picker, Dropdown, and Select to display in the position it's supposed to, then it will automatically move to the opposite position.
For example: