Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Chrome search-cancel-button #984

Merged
merged 1 commit into from Nov 8, 2019
Merged

Conversation

sagalbot
Copy link
Owner

@sagalbot sagalbot commented Nov 8, 2019

.vs__search::-webkit-search-cancel-button {
  display: none;
}

The above CSS has always existed, but it was part of a grouping:

.vs__search::-webkit-search-decoration,
.vs__search::-webkit-search-cancel-button,
.vs__search::-webkit-search-results-button,
.vs__search::-webkit-search-results-decoration,
.vs__search::-ms-clear {
  display: none;
}

For some reason, chrome would ignore the declaration when it is grouped.


Closes #886

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.982% when pulling 941f618 on fix-chrome-search-input-css into 38f291a on master.

@sagalbot sagalbot added this to the v3.3 milestone Nov 8, 2019
@sagalbot sagalbot merged commit 1a5ba31 into master Nov 8, 2019
@sagalbot sagalbot deleted the fix-chrome-search-input-css branch November 30, 2019 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to change clear button just like deselect and OpenIndicator component
2 participants