GithubHelp home page GithubHelp logo

Comments (2)

kjmitch avatar kjmitch commented on July 22, 2024 2

I'm seeing behavior similar to this in Firefox 125.0b9 and Chrome 124.0.6367.92 on Windows 10. I'm not sure if it's the same situation; Once I make a single selection, I can scroll down manually using the thumb in the scrollbar, but then when I hover over the menu items again it scrolls up automatically.

The scrolling up seems to respond faster to my cursor hovering over higher items on the list, as if there's a trigger I'm activating on the menu's top half. The menus I'm seeing this on have option groups one level deep, multiple select enabled, and the focusSelectedOptionOnOpen property set to false.

I also have event listeners attached to some of the Virtual Select elements that are doing this; these listeners' callbacks affect other elements on the page when the change event is dispatched, based on the selected value(s) in the VS menu. I had wondered if maybe the VS element is losing focus and whether that could cause the scrolling to fail on the opened drop-down box.

from virtual-select.

kjmitch avatar kjmitch commented on July 22, 2024

I just downgraded this library to make sure the issue I was dealing with isn't present in my webapp. I narrowed it down and found that my issue seems to have been introduced in version 1.0.41, so rolling my CDN import back to 1.0.40 removed the issue for me. Not sure if that would remove OP's issue as well, though my issue did include the problems they mentioned.

from virtual-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.