fix: Remove :is selector (bad compatibility)
This commit is contained in:
@@ -318,7 +318,7 @@ class ControlledBase extends Component<
|
||||
}
|
||||
|
||||
this.imgEl = contentEl.querySelector(
|
||||
':is(img, svg, [role="img"], [data-zoom]):not([aria-hidden="true"])'
|
||||
'img:not([aria-hidden="true"])'
|
||||
) as SupportedImage | null;
|
||||
|
||||
if (this.imgEl) {
|
||||
|
||||
Reference in New Issue
Block a user