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

Can't input more than a character on Safari #41

Open
konn opened this issue May 5, 2019 · 5 comments
Open

Can't input more than a character on Safari #41

konn opened this issue May 5, 2019 · 5 comments

Comments

@konn
Copy link

konn commented May 5, 2019

On Safari 12.1, one cannot input more than one character for each label, and text mouse-cursor doesn't appear at all.

How To Reproduce

  1. Open the official demo page.
  2. Double-click any empty node
  3. Although text mouse-cursor or text cursor don't appear, one can input a single character.
  4. Then, the focus seems disabled and any additional key event goes nowhere.
  5. If one re-double click the same node, one can replace the label with another single character by pushing any single key, but cannot append/prepend characters to the existing label.

Environment

  • Safari 12.1
  • macOS Mojave 10.14.4
@ericelliott
Copy link

This is working for me, now.

@yishn yishn closed this as completed Jan 23, 2020
@konn
Copy link
Author

konn commented Jan 23, 2020

This hasn't been fixed yet in my environment:

  • Safari 13.0.4
  • macOS Catalina 10.15.2

Even worth, I couldn't re-edit already-filled nodes.

@yishn yishn reopened this Jan 23, 2020
@ericelliott
Copy link

Looks like there is a race condition. If I enter some text too quickly, the whole screen goes white and I need to refresh to get the editor working again.

If I wait a bit before trying to enter text, I can get one character working in Safari.

The editor is working great for me in Chrome and Brave.

@yishn yishn added the bug label Jan 25, 2020
@andyfreeyy
Copy link

same thing happen to me

@drocta
Copy link

drocta commented Jun 10, 2021

Not sure if this is the same issue or not. It sounds similar at least. On firefox on windows, whenever I type anything, the page goes white. I think it is because the div with id root gets style=display:none set, because when I remove that, everything is visible again, until I try to type anything else. If I load a diagram from the url, or from the parse option, the page also goes white. When I remove the display:none from the root div, it all becomes visible again, and it seems to have loaded everything correctly, and renders the text correctly (but sometimes not including the grid or the nodes, just the text on the arrows).
Panning or even resizing the inspect-element box seems to tend to set the style back to display:none and render the page white,
It works fine in chrome for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants