feat(web): improve range selection (#3193)

* Improve range selection

* Add comments

* Add PR feedback

* Remove focus outline from select asset button

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Sergey Kondrikov 2023-07-12 05:12:19 +03:00 committed by GitHub
parent ea64fdd7b4
commit 93462aafbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 163 additions and 76 deletions

View file

@ -84,9 +84,7 @@
{#if !readonly && (mouseOver || selected || selectionCandidate)}
<button
on:click={onIconClickedHandler}
on:keydown|preventDefault
on:keyup|preventDefault
class="absolute p-2"
class="absolute p-2 focus:outline-none"
class:cursor-not-allowed={disabled}
role="checkbox"
aria-checked={selected}