# Drop button button automatically closing

**URL:** <https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814>\
**Category:** SeleniumLibrary\
**Created:** [30 April 2025 08:49 UTC](https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814 "2025-04-30T08:49:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSML](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ssml/32/4485_2.png) [@SSML](https://forum.robotframework.org/u/SSML)\
**Post date:** [30 April 2025 08:49 UTC](https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814/1 "2025-04-30T08:49:35Z")

</div>

I have a drop down button in a web page, after clicking it expands and waits for some time and closes automatically.. how to prevent it from shrinking.

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [30 April 2025 09:54 UTC](https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814/2 "2025-04-30T09:54:40Z")

</div>

Impossible to tell without knowing how its implemented.. Best guess: don’t move focus away from it ?
