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

scrollbar sending messages to editor #3

Open
jots opened this issue May 17, 2011 · 0 comments
Open

scrollbar sending messages to editor #3

jots opened this issue May 17, 2011 · 0 comments

Comments

@jots
Copy link

jots commented May 17, 2011

I changed ymacs.css to have:
.Ymacs-frame-overlays {
overflow: auto; /* hidden */
position: relative;
}

So now I have scrollbars when they're needed (i also removed the
1000px padding at the bottom):
.Ymacs-frame-content {
white-space: pre;
/* padding-bottom: 1000px; */
}

not sure why that is there, hopefully it's not required for something.

Now the mouse scrollwheel works and I can scroll by sliding the
scrollbar. The only problem is that when I scroll with the scrollbar,
the cursor gets moved to the line that corresponds to where I click on
the scrollbar, and text starts to be selected as I scroll up and down,
also errors appear in my console like:
Uncaught RangeError: Maximum call stack size exceeded
a._genericEventHandlerthelib.js:12
thelib.js:12Uncaught TypeError: Property '0' of object is not a
function

So how can I make it so that when i use the scrollbar, the events
don't go into the editor, just scroll like normal?

Also, where can i get the latest uncompressed source for thelib.js? I
see that the version at http://www.dynarchlib.com/download is older
than the one that comes with ymacs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant