richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

[Bug] Richdocuments interactive widget behavior

Open Antreesy opened this issue 1 year ago • 0 comments

Describe the bug Several things are noticed when using an interactive widget (posting internal link to the file) in Talk:

  • [ ] z-index value is high, widget shown above all other interactive elements: https://github.com/nextcloud/richdocuments/blob/4920f50588bf8a16636b8b3f552e36387fccb261/src/view/Office.vue#L510

  • [ ] when mounted, widget closes the sidebar: https://github.com/nextcloud/richdocuments/blob/4920f50588bf8a16636b8b3f552e36387fccb261/src/view/Office.vue#L277

To Reproduce Steps to reproduce the behavior:

  1. Go to Files -> Sharing tab -> Internal link
  2. Go to Talk -> Any chat
  3. Post internal link to the chat
  4. Observe bugs described

Expected behavior

  • z-index value around 10
  • sidebar-close event is not triggered, if mounted as interactive widget

Screenshots

1 2
image image

Client details:

  • OS: Win 11
  • Browser: Chrome
  • Version: 30 (c.nc.com)
  • Device: Web

Antreesy avatar Sep 24 '24 14:09 Antreesy