mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: fix CSS pointer events
parent
7608c7aa52
commit
5b6890b6fc
|
|
@ -198,6 +198,8 @@ export class TestScenariosComponent implements OnInit, OnDestroy {
|
||||||
);
|
);
|
||||||
const room: Room = user.room;
|
const room: Room = user.room;
|
||||||
|
|
||||||
|
room.setMaxListeners(300);
|
||||||
|
|
||||||
room.on(RoomEvent.SignalConnected, () => {
|
room.on(RoomEvent.SignalConnected, () => {
|
||||||
this.updateEventList(RoomEvent.SignalConnected);
|
this.updateEventList(RoomEvent.SignalConnected);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,7 @@ app-participant:last-child > .participant-container {
|
||||||
button.mat-icon-custom .mat-mdc-button-touch-target {
|
button.mat-icon-custom .mat-mdc-button-touch-target {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-div {
|
.top-div {
|
||||||
|
|
@ -109,3 +110,13 @@ app-options-dialog .mat-mdc-form-field-infix {
|
||||||
.cdk-overlay-pane:has(.mat-mdc-select-panel) {
|
.cdk-overlay-pane:has(.mat-mdc-select-panel) {
|
||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disable mat-select panel CSS transitions/animations so options
|
||||||
|
are immediately clickable (prevents ElementClickInterceptedException
|
||||||
|
in Selenium when mdc-menu-surface intercepts clicks during animation). */
|
||||||
|
.mat-mdc-select-panel.mdc-menu-surface {
|
||||||
|
transition: none !important;
|
||||||
|
animation: none !important;
|
||||||
|
opacity: 1 !important;
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue