Comments (2)
Hello, this is not a bug. This is by choice to reuse the styling.
The default css on hover can be overridden or rewritten as per your choice.
For example
.tt-suggestion:hover {
background-color: yellow;
}
/* You can also override the tt-selected element to distinguish between the hovered and the selected suggestion
Don't forget to use higher specificity to ensure the desired styles are applied correctly.
*/
from typeahead-standalone.
Hey @niketpathak
Sorry wasn't talking about the styling, but I was wondering why there are two selections.
Shouldn't the mouse hover and the keyboard selection show one selection. Right now there is one selection for keyboard and another one for mouse.
from typeahead-standalone.
Related Issues (20)
- Moving instead of cloning changes order of elements in parent element HOT 1
- Arrow key does not always select an item from the list. HOT 1
- Display callback is called for every item in the suggestion list instead of only once HOT 3
- onSubmit option, conflict issue when content is filled using mouse HOT 5
- With hint: false, a tt-hint input box is still generated HOT 3
- using with webpack 4.46.0 HOT 5
- Not displaying suggestions within Bootstrap offcanvas on Firefox HOT 5
- typeahead does not respect remote data source order HOT 2
- Generated HTML is not valid HOT 3
- Conflict issue on submitting data on Firefox Mobile devices HOT 11
- Typeahead import with Vite fails in production mode HOT 1
- Native Input Event Not Being Triggered HOT 4
- Error when using vite in production HOT 9
- Access `input` within url callback for remote source
- Data Not being submitted on Chrome Android HOT 1
- cannot keydown through defaultItems in empty resultSet HOT 1
- Webpack build fails in 4.25.0 HOT 2
- error using with typescript HOT 4
- typeahead-standalone wont scroll result content using bootstrap 5 offcanvas component HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeahead-standalone.