nyastodon/app/javascript/mastodon/components
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
..
__tests__ Fix compose form submission reloading web interface (#19762) 2022-11-05 13:43:37 +01:00
admin Enable eslint:recommended ruleset (#22433) 2022-12-19 00:51:37 +09:00
edited_timestamp Fix dropdown menu positions when scrolling (#22916) 2023-01-11 21:58:46 +01:00
account.js Change in-app links to keep you in-app (#20540) 2022-11-13 21:10:20 +01:00
animated_number.js Change larger reblogs/favourites numbers to be shortened in web UI (#20303) 2022-11-10 08:49:59 +01:00
attachment_list.js Fix crash if a notification contains an unprocessed media attachment (#16573) 2021-08-11 17:49:10 +02:00
autosuggest_emoji.js Change how CDN_HOST is passed down to make assets build reproducible (#14381) 2020-10-13 01:19:35 +02:00
autosuggest_hashtag.js Replace shortNumberFormat with <ShortNumber> (#14061) 2020-07-06 14:27:32 +02:00
autosuggest_input.js Fix default searchTokens (#15775) 2021-02-22 11:26:08 +01:00
autosuggest_textarea.js Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 2020-12-15 12:56:43 +01:00
avatar.js Fix rendering empty avatar in web UI (#19798) 2022-11-05 21:18:57 +01:00
avatar_composite.js Fix avatars not using image tags in web UI (#19488) 2022-10-28 00:48:45 +02:00
avatar_overlay.js Fix avatars not using image tags in web UI (#19488) 2022-10-28 00:48:45 +02:00
blurhash.js Improve safety of Blurhash component (#14278) 2020-07-09 22:32:36 +02:00
button.js Fix compose form submission reloading web interface (#19762) 2022-11-05 13:43:37 +01:00
check.js Change report modal to include category selection in web UI (#17565) 2022-02-23 20:03:46 +01:00
column.js Bump detect-passive-events from 1.0.5 to 2.0.1 (#15003) 2020-11-05 02:21:05 +09:00
column_back_button.js Fix crash when switching back/from mobile layout (#11655) 2019-08-25 15:49:02 +02:00
column_back_button_slim.js Refactor icons in web UI to use Icon component (#9951) 2019-02-01 00:14:05 +01:00
column_header.js Remove aria-pressed where it's redundant (#19912) 2022-11-08 17:31:32 +01:00
common_counter.js Change "Direct" status visibility to "Only people I mention" in web UI (#18146) 2022-04-29 00:24:31 +02:00
dismissable_banner.js Add dismissable hints to various timelines in web UI (#19315) 2022-10-09 06:08:37 +02:00
display_name.js Add server banner to web app, add GET /api/v2/instance to REST API (#19294) 2022-10-05 03:47:56 +02:00
domain.js Change the string "hidden" to "blocked" in WebUI (#13221) 2020-03-09 09:13:21 +01:00
dropdown_menu.js Fix dropdown menu positions when scrolling (#22916) 2023-01-11 21:58:46 +01:00
error_boundary.js Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
gifv.js Fix click range discrepancies in gifv (#14615) 2020-08-23 00:08:12 +02:00
hashtag.js Change in-app links to keep you in-app (#20540) 2022-11-13 21:10:20 +01:00
icon.js Fix icons having an image role (#20600) 2022-11-14 00:38:56 +01:00
icon_button.js Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users (#22513) 2023-01-05 13:36:42 +01:00
icon_with_badge.js Fix browser notification permission request logic (#13543) 2020-10-13 00:37:21 +02:00
image.js Change about page to be mounted in the web UI (#19345) 2022-10-13 14:42:37 +02:00
inline_account.js Add edit history to web UI (#17390) 2022-02-09 01:17:07 +01:00
intersection_observer_article.js Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 2021-07-13 15:46:20 +02:00
load_gap.js Refactor icons in web UI to use Icon component (#9951) 2019-02-01 00:14:05 +01:00
load_more.js Fix compose form submission reloading web interface (#19762) 2022-11-05 13:43:37 +01:00
load_pending.js Add option to disable real-time updates in web UI (#9984) 2019-07-16 06:30:47 +02:00
loading_indicator.js Fix various typos (#17621) 2022-02-22 20:14:17 +01:00
logo.js Fix intermediary responsive layout, accessibility on navigation in web UI (#19324) 2022-10-09 15:55:32 +02:00
media_attachments.js Add polls and media attachments to edit comparison modal in web UI (#17727) 2022-03-09 21:15:24 +01:00
media_gallery.js Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users (#22513) 2023-01-05 13:36:42 +01:00
missing_indicator.js Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
modal_root.js Fix reply button on media modal not giving focus to compose form (#17626) 2022-02-25 00:51:01 +01:00
navigation_portal.js Fix showing profile's featured tags on individual statuses (#19712) 2022-11-04 02:28:25 +01:00
not_signed_in_indicator.js Fix logged-out web UI on smaller screens (#19263) 2022-10-04 20:13:23 +02:00
picture_in_picture_placeholder.js Add pop-out player for audio/video in web UI (#14870) 2020-09-28 13:29:43 +02:00
poll.js Add sign-up button to logged-out web UI (#19250) 2022-09-29 06:21:51 +02:00
radio_button.js Add profile directory to web UI (#11688) 2019-08-30 00:14:36 +02:00
regeneration_indicator.js fix component name (#16138) 2021-05-03 14:59:49 +02:00
relative_timestamp.js Add edit history to web UI (#17390) 2022-02-09 01:17:07 +01:00
scrollable_list.js Spelling (#17705) 2022-03-06 22:51:40 +01:00
server_banner.js Change design of link footer (#19562) 2022-10-31 13:06:17 +01:00
short_number.js Replace shortNumberFormat with <ShortNumber> (#14061) 2020-07-06 14:27:32 +02:00
skeleton.js Change about page to be mounted in the web UI (#19345) 2022-10-13 14:42:37 +02:00
status.js Change in-app links to keep you in-app (#20540) 2022-11-13 21:10:20 +01:00
status_action_bar.js Add dropdown menu item to open admin interface for remote domains (#21895) 2023-01-05 14:03:46 +01:00
status_content.js Fix wrong color on mentions hidden behind content warning in web UI (#20724) 2022-11-15 02:58:00 +01:00
status_list.js Add explore page to web UI (#17123) 2022-02-25 00:34:33 +01:00
timeline_hint.js Add rel="noopener" to links to remote profiles (#19014) 2022-08-26 02:12:46 +02:00