Wrong context menu with CSS transform in Chome/Safari/Firefox #3827

Closed
opened 2016-02-16 09:09:39 +01:00 by marijnh · 2 comments
marijnh commented 2016-02-16 09:09:39 +01:00 (Migrated from gitlab.com)

Chome/Safari/Firefox browsers show wrong context( ) when parent element has css transformation.

transform: translate(100px, 100px) =>
transform: translate(0px, 0px) =>
transform: rotate(10deg) =>
transform: rotate(0deg) =>

Example: http://codepen.io/st44100/pen/jWJvry

Without transform in Window Chrome

2016-02-16 at 5 02

With fransform in Windows Chrome

2016-02-16 at 5 03

Chome/Safari/Firefox browsers show wrong context( ) when parent element has css transformation. `transform: translate(100px, 100px)` => :x: `transform: translate(0px, 0px)` => :x: `transform: rotate(10deg)` => :x: `transform: rotate(0deg)` => :x: **Example:** http://codepen.io/st44100/pen/jWJvry ### Without `transform` in Window Chrome ![2016-02-16 at 5 02](https://cloud.githubusercontent.com/assets/293909/13070348/2a1883fe-d4cf-11e5-9ead-87c3384447ab.png) ### With `fransform` in Windows Chrome ![2016-02-16 at 5 03](https://cloud.githubusercontent.com/assets/293909/13070369/525ed660-d4cf-11e5-856f-de2339911a08.png)
marijnh commented 2016-02-16 09:18:19 +01:00 (Migrated from gitlab.com)

changed title from Wrong context menu with CSS transform in {-Webkit browsers(-}Chome/Safari{-)-} to Wrong context menu with CSS transform in Chome/Safari{+/Firefox+}

changed title from **Wrong context menu with CSS transform in {-Webkit browsers(-}Chome/Safari{-)-}** to **Wrong context menu with CSS transform in Chome/Safari{+/Firefox+}**
marijnh commented 2016-02-16 17:02:11 +01:00 (Migrated from gitlab.com)

Transforming a CodeMirror editor is not supported in general. See also #2443

The issue with zero transforms breaking the context menu was fixed earlier this month (see #3238)

Transforming a CodeMirror editor is not supported in general. See also #2443 The issue with zero transforms breaking the context menu was fixed earlier this month (see #3238)
marijnh (Migrated from gitlab.com) closed this issue 2016-02-16 17:02:11 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/codemirror5#3827
No description provided.