Skip to content

scrollbar sending messages to editor #3

@jots

Description

@jots

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions