I'd like some hover text to appear over a dropdown item when a user is deciding to slelect it.
A purely hypothetical example.
Say my item list is "next day", "2 day","next week" for shipping opitions.
However, when a user goes down the dropdown list I would like a text box to pop up with few details on that item to help them make a choice. For example, with the mouse over "next day" it may say "You will have the option later of choosing from next day USPS Mail, UPS or FedEx, but only DHL outside the US"
Copy link to clipboard
If the arrow keys are used to move up and down the list then you could do something. Otherwise it is not possible, there is no event for the mouse moving over a list entry.
What could be done if arrow keys are used? And is this a special list or field set up?
In order to display some kind of hover text for an item, there has to be an event trigger that indicates when that item is in the focus. The user moving the mouse over the items does not produce any events. But the arrow keys actually make selections, so they trigger Keystroke events. Use the keystroke event to display hover text. Unfortunately there is no location information available for the list item, so the hover text can't be displayed next to the highlighted item. It's a bit of an unfortunate situation, because while there are no events for the mouse passing over the list items, there is location info for the mouse. It's a situation where both things exist, you just can't have them at the same time 😞