Skip to content

Commit

Permalink
Release 5.8.11
Browse files Browse the repository at this point in the history
### Changelog:
* Feature(frontend): Allow to disable rendering of BootstrapModal content inside portal.

See merge request vst/vst-utils!612
  • Loading branch information
onegreyonewhite committed Nov 13, 2023
2 parents 602342e + bec8f05 commit 2ef78d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend_src/vstutils/components/BootstrapModal.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div style="display: contents">
<slot name="activator" :open-modal="open" :close-modal="close" />
<portal v-if="isOpen" to="root-bottom">
<portal v-if="isOpen" :disabled="disablePortal" to="root-bottom">
<div
ref="modal"
v-element-bound="onModalCreated"
Expand Down Expand Up @@ -90,6 +90,7 @@
* If true, modal body will be rendered only when animation has ended and modal is fully visible
*/
renderBodyWhenShown: { type: Boolean, default: false },
disablePortal: { type: Boolean, default: false },
},
emits: ['shown', 'exit'],
data() {
Expand Down
2 changes: 1 addition & 1 deletion vstutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pylint: disable=django-not-available
__version__: str = '5.8.10post1'
__version__: str = '5.8.11'

0 comments on commit 2ef78d1

Please sign in to comment.