glitchier-soc/app/javascript/mastodon/containers
Peter Simonsson fd33bcb3b2
Fix dropdown menu positions when scrolling (#22916)
* Update react-overlays to latest version

* Fix breaking changes in dropdown menus

* Use react-overlays built-in arrow positioning feature
* Re-implemented `.dropdown-menu__arrow` to have a defined width and height to improve positioning
* Moved wrapping div (`.dropdown-menu` from `DropdownMenu` to `Dropdown`)
* Wrap button in a span to solve issue with ref
* Temporarily remove animations

* Fix breaking changes in emoji picker

* Wrap EmojiPickerMenu in a div where react-overlays’ ref is added

* Fix breaking changes in language dropdown

* Fix breaking changes in privacy dropdown

* Fix breaking changes in search form

* Add animations back using `@keyframes`

* Fix arrow color in light theme

* Fix linting issue

* Remove unused `mounted` state

* Remove `placement` state from components and redux

And remove the placement state from props of the menu components.

* Remove abolution position to fix flip issue

* Remove z-index to fix modals and overlay positions

* Fix lint issues

* Set placement in privacy and language components

Copy the placement state into the `PrivacyDropdown` and `LanguageDropdown` components, to apply correct styling to the buttons depending on which placement the Overlay has.

* Move `placement` state to correct component
2023-01-11 21:58:46 +01:00
..
account_container.js Optional notification muting (#5087) 2017-11-15 03:56:41 +01:00
admin_component.js Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
compose_container.js Fix not showing custom emojis in share page emoji picker (#9970) 2019-02-04 23:14:57 +01:00
domain_container.js Change the string "hidden" to "blocked" in WebUI (#13221) 2020-03-09 09:13:21 +01:00
dropdown_menu_container.js Fix dropdown menu positions when scrolling (#22916) 2023-01-11 21:58:46 +01:00
intersection_observer_article_container.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
mastodon.js Fix wasteful request to /api/v1/custom_emojis when not logged in (#22326) 2022-12-15 14:07:34 +01:00
media_container.js Spelling (#17705) 2022-03-06 22:51:40 +01:00
poll_container.js Fix not being able to vote (#13490) 2020-04-17 21:54:25 +02:00
scroll_container.js Improve modal flow and back button handling (#16499) 2021-07-13 15:45:17 +02:00
status_container.js Add interaction modal to logged-out web UI (#19306) 2022-10-07 10:14:31 +02:00