karolyi / ui-selectablescroll Goto Github PK
View Code? Open in Web Editor NEWAn extended jQuery-ui selectable with scroll capabilities. Migrated to https://git.ksol.io/karolyi/ui-selectableScroll
An extended jQuery-ui selectable with scroll capabilities. Migrated to https://git.ksol.io/karolyi/ui-selectableScroll
Tried in IE8 and auto-scroll doens't kick in
Using your script, the scroll bar moves, but the page stays the same position.
I have initialized the following way:
attendance_sheet_table.selectable({
filter: "tbody tr:not(.not-editable):not(.extended)",
cancel: "tbody tr.not-editable, tbody tr.extended",
selected: addSelectedDayToCache,
unselected: removeSelectedDayFromCache,
scrollSnapX: 5,
scrollSnapY: 5,
scrollAmount: 25,
scrollIntervalTime: 100
});
Any idea?
selectableScroll("destroy") is not working.
Also try $(".ui-selectable").selectablescrollstop(); still its not distroy the method.
Kindly suggest on this please....
After user ui-selectableScroll, selected Items can't sortable.
Is it possible to configure this to work if i don't have a container with a fixed-sized?
what if I have a dynamic list of elements that is capable of growing the whole document body larger than the user's viewport?
it seems auto-scrolling the body isn't working in this scenario like i'd expect.
(WARNING: I am not a frontend engineer)
It would be nice to enable a new option such as "toggleSelecting".
I didn't see something like that in the Selectable API docs, https://api.jqueryui.com/selectable/#event-selecting
Basically, not having to worry about holding down CTRL key to do a multi-select, but instead enable this new option "toggleSelecting" so that it works as if the CTRL key was held down virtually for the user as the default (but not doing a real keybind to CTRL key, of course). Just handling it nicer as an extension option on the event-selecting
somehow?
This looks great and solves the problem described here:
http://bugs.jqueryui.com/ticket/4441
But the license you are using basically means no one
can use this inside of a commercial project, correct?
Seems like the jquery ui guys had the same problem with the license?
http://bugs.jqueryui.com/ticket/3223
Could you explain please, how can I ignore selection on the scrollbar?
Thanks
Vertical scroll don´t works when horizontal scroll bar width is smaller than middle of parent element width.
STEPS:
http://karolyi.github.io/ui-selectableScroll/demo.html
F12 / Elements
Change width in "selectable-scrollable li" to 2000px:
I dropped this in in place of the original and the scrolling is awesome. However it consistently stops responding. It is as if it develops huge blind spots after a selection where it will not initialize another select? I can click all around the list until I find an area where it responds again.
I will try to slim my use down to a jsfiddle if I have time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.