Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dropdown animations respect their placement #8292

Merged
merged 2 commits into from
Aug 19, 2018
Merged

Make dropdown animations respect their placement #8292

merged 2 commits into from
Aug 19, 2018

Conversation

cpsdqs
Copy link
Contributor

@cpsdqs cpsdqs commented Aug 19, 2018

(Kind of a follow-up to #6091)

Makes dropdowns (including the privacy dropdown) using top placement have the correct transform origin.
gif of dropdowns being opened with correct transform origins

Also makes the privacy dropdown button not look strange when using top placement.
screenshot of the privacy dropdown button with top placement correct rounded corners

Also fix the corner radius on the privacy dropdown button when using top placement
@Gargron Gargron merged commit 8fe1f8d into mastodon:master Aug 19, 2018
@renatolond
Copy link
Contributor

After this merge I get:

Warning: Failed prop type: The prop `placement` is marked as required in `PrivacyDropdownMenu`, but its value is `null`.

On my console when the page is opened. Should placement really be required? it doesn't seem like the case for the other component.

kyori19 pushed a commit to kyori19/mastodon that referenced this pull request Sep 20, 2018
* Make dropdown animations respect their placement

Also fix the corner radius on the privacy dropdown button when using top placement

* Fix code style issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants