Fix instanceof check that fails on old browsers using the dialog polyfill

Created on 1 March 2024, 10 months ago
Updated 15 March 2024, 9 months ago

Problem/Motivation

The MultiselectDropdown class has a check !(dialog instanceof HTMLDialogElement) which fails on old browsers even when the polyfill is loaded.

Proposed resolution

This check is extra specific and can be removed in favor of just asserting the dialog element exists, regardless of its type.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024