Opened 8 years ago
Closed 5 years ago
#36469 closed defect (bug) (worksforme)
Chrome bug when placing cursor before or after Gallery shortcode (WPView)
Reported by: | bduclos | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4.2 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
To reproduce this issue: in the Visual editor mode, type a long text followed by a Gallery shortcode (you have to scroll to see the gallery).
In Chrome, if you click to the left or right of the Gallery WPView to place the cursor, the editor jumps to the top.
Change History (9)
This ticket was mentioned in Slack in #core-editor by azaozz. View the logs.
8 years ago
#4
@
8 years ago
Same with http://codepen.io/anon/pen/qZGvOV in Chrome.
This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.
8 years ago
#6
@
8 years ago
Seems to be only a problem when the full height editor is enabled. Otherwise it works fine.
#7
@
8 years ago
Having issues replicating based on:
To reproduce this issue: in the Visual editor mode, type a long text followed by a Gallery shortcode (you have to scroll to see the gallery).
In Chrome, if you click to the left or right of the Gallery WPView to place the cursor, the editor jumps to the top.'
#8
@
8 years ago
- Milestone changed from 4.6 to Future Release
Still can reproduce inconsistently and only in Chrome. May happen only once on the first click inside the editor after page load. Looks like something that was caused by a change in the browser, but can't find a good way to prevent it.
Punting for now as it is an annoyance that rarely happens. Sometimes these bugs are symptoms of other focusing problems in the browsers and get fixed with them. Think it's best to look again in couple of months.
I've recently seen Chrome jump to the top in several cases. Don't think it is specific to wpView. Worth investigating further.