We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.1
Windows 11, MS Edge 116, Vue 3.3.4
Pass the getContainer property for any div container to useMessage.
<template> <div id="container"/> </template> ... <script setup> const [messageApi, contextHolder] = message.useMessage({ getContainer: () => document.getElementById('container') }); </script>
The Message component must be mounted within the container specified by getContainer.
If getContainer is specified, it still references document.body
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
kovsu
Successfully merging a pull request may close this issue.
Version
4.0.1
Environment
Windows 11, MS Edge 116, Vue 3.3.4
Reproduction link
Steps to reproduce
Pass the getContainer property for any div container to useMessage.
What is expected?
The Message component must be mounted within the container specified by getContainer.
What is actually happening?
If getContainer is specified, it still references document.body
The text was updated successfully, but these errors were encountered: