Search Issue Tracker
Fixed
Votes
2
Found in [Package]
1.0.0-preview.14
Issue ID
1326493
Regression
No
[iOS] [UI Toolkit] Button remains in hover state after a touch
Reproduction steps:
1. Open customer's project attached in "BugUIToolkit (iOS hover).zip" (379.7 KB)
2. Open EntryPoint Scene
3. Build for iOS and deploy the project to a device
4. Tap and release on any of the red buttons
Expected result: The button turns blue during the press and goes back to being red after releasing it
Actual result: The button stays yellow until the screen is tapped somewhere else (not the button that is yellow currently) (Read notes below)
Reproducible with: UI Toolkit 1.0.0-preview.14 (2020.3.4f1)
Not reproducible with: UI Toolkit 1.0.0-preview.14 (2021.1.4f1)
Could not test with: 2019.4.24f1, 2021.2.0a13 because of namespace and package errors that I could not resolve
Notes:
1. Yellow color indicated hover state, this should not happen in this scenario
2. In 2021.1.4f1, the button does not remain yellow, bet when pressing another button, both become blue, indicating the press
3. This is caused by enabling "Both" for "Active Input Handling" but letting UI Toolkit use Input Manager (old) by not adding an Event System on the scene
4. Another issue is that when pressing one button and then another button both the current and previous buttons indicate a press
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note:
Fixed in UI Toolkit 1.0.0-preview.15
Resolution Note:
Fixed in 2021.2.0b14