clever-night-39043
05/03/2023, 6:34 AMTypeError: Cannot read properties of null (reading 'classList')
The button is like this
<button _ngcontent-dxy-c108="" id="CopyBtn" type="button" aria-label="Copy URL" data-bs-toggle="dropdown">Copy Link</button>
I am not sure what is wrong with it. Can anyone please help?
Thanks
https://cdn.discordapp.com/attachments/1103208026636304434/1103208026929897482/image.png▾
gray-kilobyte-89541
05/03/2023, 10:47 AMclever-night-39043
05/04/2023, 12:02 AMPrint to console
at hi._isShown (https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js:6:44054)
at hi.toggle (https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js:6:42116)
at HTMLButtonElement.<anonymous> (https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js:6:46773)
at HTMLDocument.n (https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js:6:4135)
Not sure if it has anything to do with bootstrap because that is what we use. Is there a way to just force it to click? I already put {force: true} but still fails.
Thanks.future-journalist-95278
05/04/2023, 6:19 AMclever-night-39043
05/04/2023, 1:04 PMbutton#CopyBtn. it's true this button element has no class attribute, and i have asked the devs to add ID so i can locate it. don't know why it would complain about 'classList'future-journalist-95278
05/04/2023, 4:49 PMclever-night-39043
05/05/2023, 3:14 AMfamous-address-83265
05/20/2023, 1:59 AMcareful-petabyte-59223
05/20/2023, 2:49 PM