WAIT: Uncaught TypeError: Cannot read properties of null (reading 'getBoundingClientRect')

Browser: Chrome 116.0.5845.179
OS: macOS
URL: Linkjoy - Get 10x out of your Digital Presence
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

live site auto updated to 1.9 , my mega menu started acting strange.
reverted back to 1.8x prev version no issue. so concluded its 1.9 issue

clone the site to above link.

1.8x link : Linkjoy - Get 10x out of your Digital Presence

the problem seems to be this in console :sa:

bricks.min.js?ver=1694351712:1 Uncaught TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
    at bricks.min.js?ver=1694351712:1:80612
    at Array.forEach (<anonymous>)
    at bricks.min.js?ver=1694351712:1:80202
(anonymous) @ bricks.min.js?ver=1694351712:1
(anonymous) @ bricks.min.js?ver=1694351712:1
setTimeout (async)
bricksSubmenuPosition @ bricks.min.js?ver=1694351712:1
(anonymous) @ bricks.min.js?ver=1694351712:1```
''

code changes here:

<ul class="brxe-div mm__dropdown-content brx-dropdown-content" style="left: -205px; min-width: 1705px;">

the

style="left: -205px; min-width: 1705px;"

is missing. is this a bug ?

Hey @Dee,

thanks for your report.

Could you share a URL with me?

Are you using a custom CSS selector for your mega menu? Can you please check if this selector really exists?

Best,

André

The URL is there on the post.

more info/

in my body class this is added in v19

style=“position: relative;min-height: 100%;top: 0px;”

v18 no such style added. something is causing it from v19.

from this its clearly a bug .

1 Like

SOLVED

ive added a custom class to the block and added into the mega menu css selectors