Skip to content

Fix context menu for RTL users.#3633

Merged
swissspidy merged 4 commits intodevelopfrom
fix/context-menu-rtl
Oct 28, 2019
Merged

Fix context menu for RTL users.#3633
swissspidy merged 4 commits intodevelopfrom
fix/context-menu-rtl

Conversation

@spacedmonkey
Copy link
Copy Markdown
Contributor

Summary

Use right offset over left offset if RTL.

Fixes #3607

Checklist

  • My pull request is addressing an open issue (please create one otherwise).
  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@googlebot googlebot added the cla: yes Signed the Google CLA label Oct 27, 2019
@spacedmonkey spacedmonkey requested a review from barklund October 28, 2019 09:23
@swissspidy
Copy link
Copy Markdown
Collaborator

Glad to see that it was merely a position problem, and not an issue with right click not working or anything.

@swissspidy swissspidy added this to the v1.4 milestone Oct 28, 2019
@spacedmonkey
Copy link
Copy Markdown
Contributor Author

Honestly this PR took me ages to work out. So happy it was something simple.

@spacedmonkey spacedmonkey requested a review from barklund October 28, 2019 11:32
@spacedmonkey spacedmonkey self-assigned this Oct 28, 2019
@swissspidy swissspidy merged commit a05d373 into develop Oct 28, 2019
@swissspidy swissspidy deleted the fix/context-menu-rtl branch October 28, 2019 11:53
westonruter added a commit that referenced this pull request Oct 28, 2019
…brand-validation-errors

* 'develop' of github.com:ampproject/amp-wp:
  Update dependency @wordpress/core-data to v2.7.4 (#3640)
  Update dependency @wordpress/editor to v9.7.4 (#3641)
  If text has been pasted, also force update dimesisions.
  Update dependency @wordpress/api-fetch to v3.6.4 (#3639)
  Update dependency @wordpress/edit-post to v3.8.4 (#3643)
  Update eslint and eslint-plugin-jest (#3636)
  Fix context menu for RTL users. (#3633)
  Fix cross-page element dragging in RTL (#3637)
westonruter added a commit that referenced this pull request Oct 28, 2019
…amp-to-amp-navigation

* 'develop' of github.com:ampproject/amp-wp: (74 commits)
  Update button dimensions in CTA edit component
  Update snackbar message wording when removing duplicated blocks (#3652)
  Use 'Confirm removed' and 'Confirm kept'
  Improve presentation of enabled/disabled AMP
  Improve vertical alignment of image next to markup status dropdown
  Update dependency @wordpress/core-data to v2.7.4 (#3640)
  Update dependency @wordpress/editor to v9.7.4 (#3641)
  If text has been pasted, also force update dimesisions.
  Update dependency @wordpress/api-fetch to v3.6.4 (#3639)
  Update dependency @wordpress/edit-post to v3.8.4 (#3643)
  Update eslint and eslint-plugin-jest (#3636)
  Fix context menu for RTL users. (#3633)
  Fix cross-page element dragging in RTL (#3637)
  Ensure update notice is only shown after an update; update todo comment; simplify logic
  Ensure update notice is shown upon update even if no changes were made
  Remove obsolete SVGs
  Colorize remove/keep buttons
  Improve page heading for validated URL screen
  Fix display of status icon in heading
  Set the heading of Validated URL screen to be just 'AMP Validated URL'
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Signed the Google CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context menu not accessible in RTL mode

4 participants