# Dropdown Menu Stuck Open on Page Load

**URL:** <https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120>\
**Category:** Elements\
**Created:** [April 12, 2025, 7:05am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120 "2025-04-12T07:05:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![izzy](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@izzy](https://forums.realmacsoftware.com/u/izzy)\
**Post date:** [April 12, 2025, 7:05am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/1 "2025-04-12T07:05:08Z")

</div>

Hi everyone,

I’m having an issue with the navigation menu on my website. On two specific pages, the dropdown menu appears to be stuck open and frozen as soon as the page loads. It doesn’t close or respond to hover or click actions like it normally does on other pages. The navbar setup is the same across all pages, so I’m not sure what’s causing this behavior.

Has anyone experienced this before or have any idea what might be causing it?

Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 12, 2025, 10:17am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/2 "2025-04-12T10:17:36Z")

</div>

Hmm, that is strange. I haven’t seen that issue before.

Could you share your project via Elements Cloud or provide a link to the live site so we can take a look?

---

<div class="post-metadata">

**Author:** ![izzy](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@izzy](https://forums.realmacsoftware.com/u/izzy)\
**Post date:** [April 14, 2025, 9:13am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/3 "2025-04-14T09:13:55Z")

</div>

Yes, thanks!

> **[Sunset Real Estate](https://sunset.co.th/)**

these ones are stuck:  
sunset.co.th/huahin/ocas/  
sunset.co.th/huahin/the\_breeze/

also on:  
sunset.co.th/rental/ocas/  
sunset.co.th/rental/thebreeze/

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 14, 2025, 2:03pm UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/4 "2025-04-14T14:03:35Z")

</div>

I’ve taken a quick look at your site, and it appears you’re using a custom component and/or some custom code with errors in it — this is what’s causing the issue on your site.

Elements natively supports YouTube (Vimeo and mp4) videos. I’ve included a quick video below explaining how this works and how you can use it on your site (uinstead of using custom code).

Let me know how you get on!

---

<div class="post-metadata">

**Author:** ![izzy](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@izzy](https://forums.realmacsoftware.com/u/izzy)\
**Post date:** [April 15, 2025, 3:34am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/5 "2025-04-15T03:34:43Z")

</div>

Thanks, everything’s fixed now!

I do have another issue, though. I’m trying to add a link to a picture or button on the page sunset.co.th/rental/ to this one: sunset.co.th/rental/botanicahuahin, but when I go to \*Page → Set Page, it keeps linking to sunset.co.th/bangkok/ instead.

This has happened before with some other pages—usually after a few tries, it eventually works. But for this page, it’s not working at all,

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 16, 2025, 10:03am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/6 "2025-04-16T10:03:21Z")

</div>

That does sound strange, we’d need to take a look at the project and see if we can re-create the issue here to get to the bottom of it. Feel free to upload it to Elements Cloud and share the link.

In the meantime, you could try manually entering the URL, like this…

 ![CleanShot 2025-04-16 at 11 .02.35@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/b/b/bb961c5800ca702da80dac695293a6bd4ce9777f.png)

Let me know if that works for you.

---

<div class="post-metadata">

**Author:** ![gudnuz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/gudnuz/32/29127_2.png) [@gudnuz](https://forums.realmacsoftware.com/u/gudnuz)\
**Post date:** [May 28, 2025, 5:17am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/7 "2025-05-28T05:17:39Z")

</div>

Same Problem. elementsapp://downloadDocument/8LsdtfnYFBr7

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [May 28, 2025, 5:46am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-page-load/47120/8 "2025-05-28T05:46:21Z")

</div>

@gudnuz you just need to turn off preview, see video
