Skip to content

Commit

Permalink
refactor(ui): workaround Vue 3.2.32+ bug on accessing proxy props #13732
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Jun 19, 2022
1 parent 043da71 commit a28a942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/directives/Ripple.js
Expand Up @@ -62,7 +62,7 @@ function showRipple (evt, el, ctx, forceCenter) {
}

function updateModifiers (ctx, { modifiers, value, arg, instance }) {
const cfg = Object.assign({}, instance.$q.config.ripple, modifiers, value)
const cfg = Object.assign({}, ctx.cfg, modifiers, value)
ctx.modifiers = {
early: cfg.early === true,
stop: cfg.stop === true,
Expand All @@ -79,6 +79,7 @@ export default createDirective(__QUASAR_SSR_SERVER__

beforeMount (el, binding) {
const ctx = {
cfg: binding.instance.$.appContext.config.globalProperties.$q.config.ripple,
enabled: binding.value !== false,
modifiers: {},
abort: [],
Expand Down

0 comments on commit a28a942

Please sign in to comment.