Disable-ish shift click text selection

This commit is contained in:
Adina Țeudan 2023-02-08 19:18:11 +02:00
parent baad3e1dac
commit c19636567f
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="display-contents">
<div class="display-contents noselect">
<cdk-virtual-scroll-viewport
[class.no-data]="listingComponent.noContent$ | async"
[itemSize]="itemSize"

View File

@ -3,6 +3,11 @@
:host::ng-deep {
display: contents;
// workaround for firefox, user-select: none not working for some reason. needed for shift click selection
::selection {
background: transparent;
}
> *:not(.selection-column):not(.scrollbar-placeholder) {
display: contents;
}