mohamedsabil83/filament-forms-tinyeditor

[Bug]: Uncaught TypeError: Cannot read properties of null (reading 'setAttribute')

theia-kevin opened this issue · 4 comments

What happened?

Javascript errors occured after opening the table properties window.

How to reproduce the bug

Draw a table > Open Table Properties

Package Version

^1.7

PHP Version

8.1.15

Laravel Version

^9.19

Which operating systems does with happen with?

No response

Notes

I'm not sure whether it's got anything to do with Alpine Focus, because I did a quick console.log and noticed

e.target.container.closest('.filament-modal').setAttribute('x-trap.noscroll', 'false')

e.target.container.closest('.filament-modal').setAttribute('x-trap.noscroll', 'isOpen')

e.target.container.closest('.filament-modal') is returning null

I got the same error too when opening table properties, all table properties features not working

Fixed in v1.7.1

@mohamedsabil83 Thank you! its work

You're welcome