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

Block toolbar: fix hasMovers #19619

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Block toolbar: fix hasMovers #19619

merged 1 commit into from
Jan 14, 2020

Conversation

ellatrix
Copy link
Member

@ellatrix ellatrix commented Jan 14, 2020

Description

See #18173.

hasMovers has never worked for the top or mobile toolbar. Additionally, it also broke recently when the contextual block toolbar was moved out of the block tree.

Additionally it removes the data- props from the contextual toolbar and breadcrumb and uses the popover instead.

How has this been tested?

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR. .

@ellatrix ellatrix force-pushed the fix/has-movers branch 2 times, most recently from fd1ac4e to 991d0a6 Compare January 14, 2020 12:39
@ellatrix ellatrix merged commit c411b37 into master Jan 14, 2020
@ellatrix ellatrix deleted the fix/has-movers branch January 14, 2020 18:22
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ellatrix, this PR fixes the problem with hasMovers 👍

Additionally it removes the data- props from the contextual toolbar and breadcrumb and uses the popover instead.

Checking the code I did not found this removal, I'm missing something?

@ellatrix
Copy link
Member Author

@jorgefilipecosta Ah, I decided to leave it out as it was causing test failures. :)

@ellatrix ellatrix added this to the Gutenberg 7.3 milestone Jan 20, 2020
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.

2 participants