Better imitate native touch experience
This commit is contained in:
parent
9035dfcb93
commit
940d1f2d67
@ -309,6 +309,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.select2-results ul.select2-result-sub {
|
||||
|
@ -648,7 +648,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
this.initContainerWidth();
|
||||
|
||||
installFilteredMouseMove(this.results);
|
||||
this.dropdown.delegate(resultsSelector, "mousemove-filtered", this.bind(this.highlightUnderEvent));
|
||||
this.dropdown.delegate(resultsSelector, "mousemove-filtered touchstart touchmove touchend", this.bind(this.highlightUnderEvent));
|
||||
|
||||
installDebouncedScroll(80, this.results);
|
||||
this.dropdown.delegate(resultsSelector, "scroll-debounced", this.bind(this.loadMoreIfNeeded));
|
||||
|
Loading…
Reference in New Issue
Block a user