Skip to content

Commit

Permalink
Merge branch 'pdfviewer-resize-bug-firefox' into 'main'
Browse files Browse the repository at this point in the history
Fix resizing PDF viewer loses mouse focus in Firefox

See merge request reportcreator/reportcreator!416
  • Loading branch information
MWedl committed Jan 16, 2024
2 parents 2786a0c + fadf2ec commit 611c4d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Improve template field overview UI
* Fix error while editing ID of nested field of report section in designer
* Add demo data archives as TOML files to repository
* Fix resizing PDF viewer loses mouse focus in Firefox


## v2024.3 - 2024-01-09
Expand Down
10 changes: 10 additions & 0 deletions frontend/src/components/SplitMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ const emit = defineEmits<{
</script>

<style lang="scss" scoped>
.splitpanes--dragging:deep() {
iframe {
// Fix dragging in Firefox when mouse moves over iframes.
// Firefox does not emit mouse events (mousemove, mouseup, used by splitpanes) when mouse is over iframes.
// Setting pointer-events prevents iframes from eating mouse events.
pointer-events: none;
}
}
.splitpanes.default-theme:deep() {
.splitpanes__pane {
background-color: inherit;
Expand Down

0 comments on commit 611c4d2

Please sign in to comment.