UMN-LATIS / elevator-ui

UI for Elevator, a flexible digital asset repository
2 stars 0 forks source link

Search input shows native "x" to clear input #246

Closed jxjj closed 5 months ago

jxjj commented 1 year ago

Search input shows native "x" to clear input.

This happened after switching the input type to search. With a search input, browsers will render a native clear search x. But, we already have a custom clear search button. Either remove the native clear search or customize it match our the original clear search. (I think the x is rendered in the ShadowDOM, but I'm not sure if all browser vendors allow customization).

An alternative is switching back to a text input.