Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click on disabled control has unintended effects #1127

Open
ygoe opened this issue Jul 4, 2024 · 2 comments
Open

Click on disabled control has unintended effects #1127

ygoe opened this issue Jul 4, 2024 · 2 comments
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@ygoe
Copy link

ygoe commented Jul 4, 2024

Current behavior

The gallery app showcases a few basic controls in different themes. This includes disabled controls. Trying to interact with these usually doesn't have any effect. But here, it does. The view scrolls up and the tab headers are visible twice. See steps below. I can scroll down again afterwards and on any scroll movement, the duplicate tab headers also disappear. (BTW, changing tabs from either copy immediately after clicking the disabled control will properly update both copies of the tab buttons.)

I'm not sure if this is a problem in Uno or just the gallery app. I suppose the app doesn't do anything special here, so the problem would lie in Uno itself and possibly affect all apps.

Expected behavior

None of this should happen.

How to reproduce it (as minimally and precisely as possible)

  1. Open https://gallery.platform.uno/
  2. Scroll the main content down until the theme tabs become sticky
  3. Click into an enabled control, for example a text box or checkbox
  4. Click into a disabled control

Environment

I cannot tell what you used to build that application. I'm very new to Uno and am just exploring it as of yet.

My environment is Firefox 127 on Windows 11.

Anything else we need to know?

Thanks for the nice conversations and interesting presentation at DWX in Nürnberg this week! 😀

@ygoe ygoe added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Jul 4, 2024
@kazo0
Copy link
Contributor

kazo0 commented Jul 4, 2024

Can confirm this also happens in Chrome:

Screen.Recording.2024-07-04.at.5.04.40.PM.mov

@kazo0
Copy link
Contributor

kazo0 commented Jul 4, 2024

Actually this has already been fixed! I believe by this: unoplatform/uno#15354

We will need to release a new version of the Gallery with the newer Uno version where the fix is present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

2 participants