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

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

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 <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
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 <opensource@fthiessen.de>
@backportbot backportbot bot requested review from artonge, skjnldsv and susnux June 8, 2024 15:10
@backportbot backportbot bot added this to the Nextcloud 29.0.3 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 <nextcloud-command@users.noreply.github.com>
@Altahrim Altahrim merged commit f993d52 into stable29 Jun 10, 2024
104 of 105 checks passed
@Altahrim Altahrim deleted the backport/45611/stable29 branch June 10, 2024 09:11
@blizzz blizzz mentioned this pull request Jun 11, 2024
3 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