richdocuments
richdocuments copied to clipboard
[Bug] Richdocuments interactive widget behavior
Describe the bug Several things are noticed when using an interactive widget (posting internal link to the file) in Talk:
-
[ ]
z-indexvalue 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:
- Go to Files -> Sharing tab -> Internal link
- Go to Talk -> Any chat
- Post internal link to the chat
- Observe bugs described
Expected behavior
- z-index value around 10
- sidebar-close event is not triggered, if mounted as interactive widget
Screenshots
| 1 | 2 |
|---|---|
Client details:
- OS: Win 11
- Browser: Chrome
- Version: 30 (c.nc.com)
- Device: Web