Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Spacing in text cells on Safari 10 #1967
I've been encountering some formatting strangeness in any text block (code and markdown) on Safari v10.0.1 using jupyter notebook v4.3.0.
Spaces in text are not being show. Once characters are placed the formatting looks correct. I've included an example below:
If there are characters on the line after the cursor, there don't seem to be any issues. I haven't been able to replicate the issue in Chrome.
Possibly related to #1943. Thanks for any help!
I'm haven't done very thorough testing, but I just spent about ten minutes in a fresh notebook and this is what I'm seeing:
In code cells
Strange space formatting:
In markdown cells
Strange space formatting occurs:
Hope this helps!
edit: Fixed grammar.
I'm seeing it now on 10.0.2 also with notebook 4.3.0. Where I see it most prominently is when I type a space, but the cursor does not move, yet when I type a letter afterwards, it is properly spaced. So the space registered, but was not displayed until additional text was added.
Thanks for the detailed circumstances. I know I've seen this in the past, but can't make it happen today. Since @gnestor seems to be able to, I'll let him try to tack it down. If it's a regression in 4.3, it's most likely related to the bump in codemirror version. Can anyone here who sees this in 4.3 tell if the behavior is different in 4.2?
referenced this issue
Dec 20, 2016
added a commit
Dec 21, 2016
This is temporarily fixed by downgrading CodeMirror to 5.16.
Let's move conversation to codemirror/CodeMirror#4454 and we can re-open this issue if we find that the source of this is in fact in notebook.