-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Spacing in text cells on Safari 10 #1967
Comments
It looks like this was affecting jupyterlab and is now resolved: jupyterlab/jupyterlab#522 |
I've definitely seen this, but can't seem to make it happen now (also Safari v10.0.1). @ivirshup does this happen with any text (i.e. cursor doesn't move across whitespace, only when characters are entered), or only in specific circumstances? |
@minrk I'm only observing it when on single spaces. Double spaces and characters after single spaces update correctly. I'm testing against notebook at master on Safari 10.0.2. |
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 cellsStrange space formatting:
In markdown cellsStrange 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? |
I only noticed it starting in 4.3, and its the sort of thing that would jump out at me. |
I did some testing and it appears that this behavior appears in CodeMirror 5.17... |
@flying-sheep @oxinabox Pinging you because upgrading to CodeMirror 5.21 introduced a regression for Safari 10 users. I'm trying to track down the cause. I've found that it was introduced after 5.16. I created an issue on codemirror: codemirror/codemirror5#4454 |
Temporary fix for #1967 I have tested and this resolves the strange space behavior in Safari 10 👌 Signed-off-by: Min RK <[email protected]>
This is temporarily fixed by downgrading CodeMirror to 5.16. @flying-sheep @oxinabox I understand that you have contributions that have been merged since 5.16, so we intend to upgrade to the latest version as soon as we can resolve the source of this issue. Let's move conversation to codemirror/codemirror5#4454 and we can re-open this issue if we find that the source of this is in fact in notebook. |
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!
The text was updated successfully, but these errors were encountered: