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

"Copy permalink" button only works when padding area is clicked #18274

Closed
luminuu opened this issue Nov 4, 2019 · 2 comments
Closed

"Copy permalink" button only works when padding area is clicked #18274

luminuu opened this issue Nov 4, 2019 · 2 comments
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Type] Bug An existing feature does not function as intended

Comments

@luminuu
Copy link
Member

luminuu commented Nov 4, 2019

Describe the bug
On the permalink options above the title, the "copy permalink" on the very left side only works on mouse clicks when clicking into the padding area between the SVG icon and the border.
It does work with focusing the element via the keyboard and hitting enter.

To reproduce
Steps to reproduce the behavior:

  1. Go to a saved post or page, where a permalink is available.
  2. Click on the title, the permalink options appear.
  3. Click on the "copy permalink" button on the left, exactly on the SVG image.
  4. The permalink options close, but the permalink was not copied.
  5. Open the permalink options again by clicking on the title.
  6. Now repeat to click on the "copy permalink" button, this time in the white space between the SVG image and the border of the button. The permalink get's copied and the options bar doesn't close yet.

Expected behavior
Clicking on the icon itself should also copy the permalink and not close the options bar immediately.

Gif
Copy permalink issue

Desktop (please complete the following information):

  • OS: macOS 10.14.6
  • Browser Firefox 70

Additional context

  • WordPress 5.3-RC3-46639
  • Gutenberg Plugin NOT installed
@phpbits
Copy link
Contributor

phpbits commented Nov 4, 2019

I was able to replicate the issue on FireFox as well. Versions 69.0.1 and 70.0.1

@swissspidy swissspidy added [Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Type] Bug An existing feature does not function as intended labels Nov 6, 2019
@youknowriad
Copy link
Contributor

This UI has been removed in favor of the sidebar panel. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants