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

After reordering array element through Inspector focus is wrongly placed #89762

Closed
ajreckof opened this issue Mar 21, 2024 · 0 comments · Fixed by #89763
Closed

After reordering array element through Inspector focus is wrongly placed #89762

ajreckof opened this issue Mar 21, 2024 · 0 comments · Fixed by #89763

Comments

@ajreckof
Copy link
Member

ajreckof commented Mar 21, 2024

Tested versions

Anything after #80706 (4.3)

System information

macOS 13.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)

Issue description

When you reorder arrays focus will follow the one you are reordering but once you drop it the focus will go back to the line where it started from.
#80706 reworked how array PropertyEditor update and with that introduced the possibility to keep focus after reordering (previously everything was nuked every update so focus was removed) but the focus is tied to the slot and hence is not good when reordering.

314554939-dae98aa3-3e3d-48db-976b-23a536d64ed6.mp4

Steps to reproduce

  1. Add an Array with some elements
  2. Reorder an element

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants