question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accentuated characters with ^ are broken on Safari

See original GitHub issue

With Safari 11.0:

2017-10-28 10_45_24

On a french keyboard, the character is obtained by pressing the ^ key followed by the a key. The error occurs when space is pressed after entering the â.

Console errors:

[Error] TypeError: undefined is not an object (evaluating 'g.text')
	db (build.prod.js:4703:3297)
	processEventQueue (build.prod.js:4704:21470)
	handleTopLevel (build.prod.js:4704:23947)
	xb (build.prod.js:4703:4428)
	batchedUpdates (build.prod.js:4704:4634)
	batchedUpdates (build.prod.js:4704:19685)
	dispatchEvent (build.prod.js:4704:20551)
	dispatchEvent
[Error] TypeError: undefined is not an object (evaluating 'this.getDescendant(n).characters.get(e.startOffset-1).marks')
	value — build.prod.js:5039:11122
	(anonymous function) — build.prod.js:5073:716
	value — build.prod.js:5039:10248
	(anonymous function) — build.prod.js:5073:716
	hasMark — build.prod.js:841:1828
	renderMarkButton — build.prod.js:841:3601
	renderToolbar — build.prod.js:841:3132
	value — build.prod.js:841:5351
	u — build.prod.js:4703:19032
	o — build.prod.js:4704:817
	u — build.prod.js:4704:1327
	c — build.prod.js:4704:1795
	batchedUpdates — build.prod.js:4704:4657
	batchedUpdates — build.prod.js:4704:19685
	dispatchEvent — build.prod.js:4704:20551
	dispatchEvent
	s (build.prod.js:4704:3114)
	c (build.prod.js:4704:1883)
	batchedUpdates (build.prod.js:4704:4657)
	batchedUpdates (build.prod.js:4704:19685)
	dispatchEvent (build.prod.js:4704:20551)
	dispatchEvent

This might be related to the Safari IME issues, but I am not sure the â characters are using IME.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Oct 30, 2017

I’ve tried reproducing it with all the accented characters I know and the problem isn’t showing, even after hitting space. Currently using the latest 0.30.2, btw.

0reactions
ianstormtaylorcommented, Oct 30, 2017

I think @renchap said this was now fixed in the Slate slack channel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enter characters with accent marks on Mac - Apple Support
In apps on your Mac, type characters with accent marks by pressing a key on the keyboard to display an accent menu.
Read more >
How to do letter accents on Mac and other special characters
Press and hold option on the keyboard to see some of the special characters (e.g. option + p = π) · Press and...
Read more >
How to Type Letters with Accents on Mac - freeCodeCamp
Just press and hold the Option key (the same as the Alt key), then press the "e" key, and then release them and...
Read more >
Semibold accented characters bug - Stack Overflow
I had a similar issue with ê and Ê, only in Safari. Turned out to be an issue with copying/pasting from Word -...
Read more >
Character Accent Menu doesn't appear anymore in macOS ...
Go to your Keyboard Preferences -> Keyboard. What's your key repeat? – Edric. Sep 23, 2016 at 7:38.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found