Feature Request: handler for when `activeIndex` changes
See original GitHub issueIs it possible to add a handler for when the activeIndex
changes?
I think ideally it would have arguments for the next index and the option value for that index.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Prop to disable active index change on up / down keys #635
May I request just a simple disabling of this option, based on a 'enableDefaultUpDownSelection'={true | false} prop? switch (e.keyCode) { case ...
Read more >[SOLVED] TabView event handler - Prime Community Forum
i want get the active index of changed tab in my control class. ... to add a tabchangelistener if there is enough demand...
Read more >React-Bootstrap-Typeahead - Handling ENTER key if no ...
Any thoughts on getting rid of the warning that is thrown when the activeIndex is changed? Warning: Cannot update a component ( FormExample...
Read more >Chapter 5 Semantics: The Active Index
In multimedia computing, an important issue is how to index multimedia objects, so that the multimedia objects can be accessed quickly and certain....
Read more >swiper.activeindex react | The AI Search Engine You Control
Pause other videos when slide is changed | Swiper.js | React Player ... Let us ship some of the most requested features like...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have following use case – when user did mouseover over an item in dropdown, the item is previewed in our app (the item is not fully selected, just sort of previewed). We would like to achieve the same preview feature when user is using up/down keys to move along the dropdown items… it seems like being able to observe
activeIndex
would help us to achieve this goal. our intention is to keep the drodown menu as is, thus I am not sure ifis what we actually need.
This sounds like highly specific behavior. I’d recommend using the
renderMenu
hook to have complete control over the look and feel of the menu and menu items. You can either use the providedMenuItem
component or wrap your own withmenuItemContainer
. The container provides anactive
prop that you can use for your purposes.Example: http://ericgio.github.io/react-bootstrap-typeahead/#rendering