bug: Multiple clear icons in searchbar
See original GitHub issueWhen using the ion-searchbar like so, <ion-searchbar id="main-search" show-cancel-button="never" animated></ion-searchbar>
There are 2 clear icons shown like this when typing into the searchbar like this:
After digging in, I understood that one of the icons was given by the browser because input type=“search” is being used by ionic with inputmode as search thereby the browser gives a default clearing icon by itself.
In addition to this, Ionic also adds a clear icon when using searchbar making it 2 clear icons.
In any case, only one clear icon must be displayed. Any ideas on how I can go ahead with this?
Currently, I am solving this by explicitly setting the type as text like this:
<ion-searchbar id="main-search" inputmode="search" type="text" show-cancel-button="never" animated></ion-searchbar>
Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[Solved] Remove Multiple Google Chrome Icons In Taskbar
The firs foremost easy way to fix this is by unpinning the google chrome icon where you see no grouping and and pin...
Read more >How to Remove the Annoying Icons in Windows 10's Search Bar
On Windows 10, right-click anywhere on your task to pull up the menu, select “Search” and then uncheck “Show search highlights” to get...
Read more >Transparent Box Above The Task Bar
Hello, I have been getting a transparent box above my task bar. ... That box is expected to appear when you hover over...
Read more >Windows 10 bug when removing a shortcut from the toolbar
The Pinned taskbar icons (shortcuts) are stored in one of these folders: %AppData%\Microsoft\Internet Explorer\Quick Launch\User ...
Read more >8 Ways to Fix Blank Icons on Windows 10 - MakeUseOf
In the Reset this PC window, select your preference of keeping or deleting your files on the computer. Two Different Options to Reset...
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 FreeTop 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
Top GitHub Comments
@liamdebeasi I remember getting this error in the browser (when running serving the app directly from www folder). Don’t remember if the same occured in the android device.
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!