mastodon/app
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
..
chewy Change algorithm of tootctl search deploy to improve performance (#18463) 2022-05-22 22:16:43 +02:00
controllers Change referrer-policy to no-referrer application-wide (#23014) 2023-01-10 05:18:43 +01:00
helpers Add Southern Sami, and Lule Sami to language list under the ISO-639-3 standard (#21262) 2022-12-15 18:42:48 +01:00
javascript Fix dropdown menu positions when scrolling (#22916) 2023-01-11 21:58:46 +01:00
lib Fix/remove calling private method with send in model (#22951) 2023-01-11 21:57:24 +01:00
mailers Add single splat to callback method definitions to avoid ArgumentError (#22246) 2022-12-13 20:03:16 +01:00
models Fix/remove calling private method with send in model (#22951) 2023-01-11 21:57:24 +01:00
policies Fix getting a single EmailDomainBlock (#20846) 2022-11-17 10:55:50 +01:00
presenters Add follow request banner on account header (#20785) 2022-12-15 18:50:11 +01:00
serializers Add reading:autoplay:gifs to /api/v1/preferences (#22706) 2023-01-05 13:31:05 +01:00
services Fix/remove calling private method with send in model (#22951) 2023-01-11 21:57:24 +01:00
validators Strip spaces around URL when adding a relay (#22655) 2023-01-05 13:33:33 +01:00
views Change trending tags admin interface to always show batch actions (#23013) 2023-01-11 21:51:43 +01:00
workers Fix typos in source documentation (#21046) 2022-12-15 15:57:26 +01:00