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

Unable to scroll using scrollwheel in F# code (using Fx 69) #91

Closed
darklajid opened this issue May 21, 2019 · 4 comments
Closed

Unable to scroll using scrollwheel in F# code (using Fx 69) #91

darklajid opened this issue May 21, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@darklajid
Copy link

This might be entirely me, running Firefox 69 - but maybe it's something you're interested in anyway:

  • Navigate to https://fable.io/repl/
  • Load a sample (say the Thoth RandomUser one)
  • Try scrolling in the F# code or the generated JS code using the mouse wheel

For me nothing happens, while navigating using the keyboard (cursor keys, home/end keys) or using the scrollbars works fine.

@MangelMaxime
Copy link
Member

Using Firefox 66

I can't scroll either in any of the editors.

However, I am able to scroll in the Console and Problems views.

@MangelMaxime MangelMaxime added the bug Something isn't working label May 21, 2019
@alfonsogarciacaro
Copy link
Member

Unfortunately Firefox doesn't seem to like the Fable REPL very much as it runs quite slow on it. We're not sure what the problem is as, at least on macOS, it runs reasonably fast in Chrome and Safari (it likely has to be with modern JS syntax not being optimized in FF). This makes the overall experience in FF not very pleasant whether you're able to scroll with the mouse wheel or not :/

@darklajid
Copy link
Author

Unfortunately Firefox doesn't seem to like the Fable REPL very much as it runs quite slow on it.

I don't know if you guys have any way of fixing that, but I do think that's secondary no? A different issue?

I stumbled upon this REPL due to a tweet and really just wanted to browse some examples / check out what Fable does and can do. Not being able to scroll naturally is making this rather hard (I want to scroll on both left and right to see input / output - for me that's the reason to look at a "web playground".

There's already a popup in the bottom right, saying that one should use Safari (wrong platform) or Chrome for better performance.

@MangelMaxime
Copy link
Member

The scrolling problem is just a bug we discover thanks to your issue. The bug is actually coming from monaco itself: microsoft/monaco-editor#1353

We just need now to see:

  • if the bug will be fixed in Monaco
  • Should we downgrade the Monaco version to a working version
  • Is their a polyfill that we could add as a temporary fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants