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

[stable28] fix(files): Make sure files are opened when using open-in-files action(s) or at lease are scrolled into view #45727

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jun 8, 2024

Backport of #45611

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

* We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent
* Node attributes must be accessed using the `attributes` getter not the private `_attributes` property
* Cast action ref to correct component interface to make TypeScript happy

Signed-off-by: Ferdinand Thiessen <[email protected]>
Ensure the correct file is scrolled if the content changes,
this also sets a minimal height to the virtual scrolling area
so that the `scrollTop` can be set.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@backportbot backportbot bot requested review from artonge, skjnldsv and susnux June 8, 2024 15:09
@backportbot backportbot bot added this to the Nextcloud 28.0.7 milestone Jun 8, 2024
@susnux
Copy link
Contributor

susnux commented Jun 8, 2024

/compile amend/

@susnux susnux marked this pull request as ready for review June 8, 2024 16:24
Signed-off-by: nextcloud-command <[email protected]>
@Altahrim Altahrim merged commit 2691ceb into stable28 Jun 10, 2024
44 of 45 checks passed
@Altahrim Altahrim deleted the backport/45611/stable28 branch June 10, 2024 09:42
@blizzz blizzz mentioned this pull request Jun 11, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants