Skip to content

fix: bad copy with reference in UIItem#2526

Merged
KernelDeimos merged 1 commit intomainfrom
eric/262L0_PUT-533
Feb 22, 2026
Merged

fix: bad copy with reference in UIItem#2526
KernelDeimos merged 1 commit intomainfrom
eric/262L0_PUT-533

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

UIItem makes a recursive call when there are multiple matching elements in the options.appendTo argument. When calling recursively, the appendTo property of the options object is mutated to a specific element before the call, which expects that each call to UIItem occurs synchronously. UIItem was made asynchronous by
9d598f7
which resulted in a bug causing duplicate item icons in one directory window instead of one item icon in each directory window after a file upload when multiple instances of a window at the same directory location exist.

Resolves #2514

UIItem makes a recursive call when there are multiple matching elements
in the `options.appendTo` argument. When calling recursively, the
`appendTo` property of the `options` object is mutated to a specific
element before the call, which expects that each call to UIItem occurs
synchronously. UIItem was made asynchronous by
9d598f7
which resulted in a bug causing duplicate item icons in one directory
window instead of one item icon in each directory window after a file
upload when multiple instances of a window at the same directory
location exist.

Resolves #2514
@KernelDeimos KernelDeimos merged commit 96be870 into main Feb 22, 2026
4 checks passed
@jelveh jelveh deleted the eric/262L0_PUT-533 branch May 1, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weird behaviour when uploading file in file picker

1 participant