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.

How to set `editor.$blockScrolling = Infinity`?

See original GitHub issue

I’m getting these warnings:

Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message

Where should I set editor.$blockScrolling = Infinity to prevent these warnings?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

29reactions
oluckymancommented, Apr 22, 2017

@KevinMongiello try this:

<ReactAce
  editorProps={{
    $blockScrolling: Infinity
  }}
/>
2reactions
harshappscommented, Sep 19, 2016

@oluckyman @loretoparisi Try this. This worked for me.

var editor = ace.edit(“editor”);
editor.getSession().setMode(“ace/mode/javascript”); editor.$blockScrolling = Infinity;

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where to set Ace editor blockScrolling? - Stack Overflow
The correct one would be: var el = $(the_element); var editor = el.data('ace').editor; editor.$blockScrolling = Infinity;.
Read more >
Javascript – Where to set Ace editor blockScrolling - iTecNote
Where to set that editor.$blockScrolling variable to remove those warnings? var aces = el.find('textarea.code.json'); var aceInit = function() { ...
Read more >
A brand new website interface for an even better experience!
Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable ...
Read more >
Top 5 ace-builds Code Examples - Snyk
blockScrolling = Infinity; var editorButtons = buttons.editor; var self = this; ... Set up ace editor // var editor = ace.edit(containers.editor); Object.
Read more >
Bug #17913: deprecation warning on ACE editor - Foreman
"Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable ...
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