You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In latest version of nuxt/ui, adding the placement: 'top' property in app.config causes en error on hover for Tooltip component
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'x')
at offset (offset.js?v=07b9dffb:36:33)
at Object.forceUpdate (createPopper.js?v=07b9dffb:128:21)
at createPopper.js?v=07b9dffb:141:20
at new Promise (<anonymous>)
at createPopper.js?v=07b9dffb:140:16
at debounce.js?v=07b9dffb:8:19
I'm sorry but I cannot understand why the placement prop is not working anymore since the package was nuxthq/ui 2.7.
By removing the placement property in app config the tooltip works correctly, however it makes necessary as a workaround to add the :popper="{ placement: 'top' }" directly on every single component instance.
Additional context
I can see in the code, that the PopperOptions interface still has the placement property.
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Version
2.13
Reproduction
Description
In latest version of nuxt/ui, adding the
placement: 'top'
property in app.config causes en error on hover for Tooltip componentI'm sorry but I cannot understand why the
placement
prop is not working anymore since the package was nuxthq/ui 2.7.By removing the placement property in app config the tooltip works correctly, however it makes necessary as a workaround to add the
:popper="{ placement: 'top' }"
directly on every single component instance.Additional context
I can see in the code, that the PopperOptions interface still has the placement property.
Logs
No response
The text was updated successfully, but these errors were encountered: