Armaldio / ttv-desktop-lite

The Lightweight Desktop App For Twitch.TV
MIT License
2 stars 0 forks source link

"On Clicked" CSS Status Workaround (Electron Issue) #6

Closed TheRealDannyyy closed 6 years ago

TheRealDannyyy commented 6 years ago

Electron has this weird behavior of showing an orange border for the "on clicked" CSS state. This ancient bug can be worked around by simply hiding it using CSS code.

TheRealDannyyy commented 6 years ago

Possible workaround, needs to be tested first ("0" or "none"):

body {
  user-select: none !important;
  -webkit-user-select: none !important;
}
TheRealDannyyy commented 6 years ago

Cannot reproduce in current build therfor closing for now.

TheRealDannyyy commented 6 years ago

Fixed some edge cases where it sometimes occured still.