ghost-portal/packages/react-components/src/Button
MiZiet b6c827a908
Remove sui popup (#5924)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00
..
Button.tsx Remove sui popup (#5924) 2021-08-31 09:35:33 +02:00
Group.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
index.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
types.ts Remove sui popup (#5924) 2021-08-31 09:35:33 +02:00