element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Layout jumping while enabling developer options

Open macmoritz opened this issue 7 months ago • 5 comments

Steps to reproduce

  1. Open Element X
  2. Click on profile picture in the upper left corner
  3. Scroll down to version
  4. Click the version section at the button a few times (maybe a few too much)
  5. Developer options get shown in list
  6. Due to still clicking (see 5.) the developer options open and some settings may change

Outcome

What did you expect?

The list gets scrolled to the bottom after the developer options appeared in the list, so the user still clicks on the version button, which does not have effect.

What happened instead?

Layout shifts because the developer options appears in list.

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

No

macmoritz avatar Apr 30 '26 21:04 macmoritz

If you confirm, that this should be fixed by scrolling down the list after the appearance of the developer options, I could provide a PR.

macmoritz avatar Apr 30 '26 21:04 macmoritz

We can try having a padding to the top of the version, so that the layout will match when the developer options button appears.

@americanrefugee

bxdxnn avatar May 01 '26 10:05 bxdxnn

Sounds like a good solution. I will let you, the experts, fix it :)

macmoritz avatar May 01 '26 11:05 macmoritz

We can try having a padding to the top of the version, so that the layout will match when the developer options button appears.

@americanrefugee

I guess we can try your solution. The user should not accidentally go to dev options by tapping too many times - they should simply see the menu item appear.

americanrefugee avatar May 04 '26 07:05 americanrefugee

There is no ideal solution. Only power users will try to access the developer settings, and honestly even if such settings are opened by mistake, it's not a big deal. We can even see this as a feature, the user wanted to go to that settings.

Closing the issue as we have more important issues to fix.

bmarty avatar Aug 12 '26 07:08 bmarty