Skip to content
New issue

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

useTemplateRef behaves differently in prod mode and dev mode #11816

Closed
linzhe141 opened this issue Sep 5, 2024 · 0 comments
Closed

useTemplateRef behaves differently in prod mode and dev mode #11816

linzhe141 opened this issue Sep 5, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@linzhe141
Copy link
Contributor

linzhe141 commented Sep 5, 2024

Vue version

3.5.1

Link to minimal reproduction

https://play.vuejs.org/#__PROD__eNp9UV1Lw0AQ/CvLvcRCTKnVl5oWVApW/KL28UBCuompl7vjPmKk5r+7SWwtIs1D2LuZnZ3Z27IrraPKI5uw2Kam0A4sOq9BJDKfcuYsZzMui1Ir42ALBrMQvMUVllokDpeYQQOZUSUEJBNccinQQV3XMP3Di29XD/cLqb2bCyxROvgC6YWYnQSfwYAaUyWtEhgJlZ8EpLD/gpB+g57goLQ5aQej8dko4DIe9rbJJB3czzg6AcRFOwyq01KtUVAY6uSsjUA1KVI9JGI8POhiIUWmOVmRRxurJO1l22pxlqpSFwLNk3YF+eBsAh3SYokQ6uOuu3PGY7i7T98wff/nfmNp+ISKZ4MWTYWc7TGXmBxdD89fHrGmeg9SEi+IfQRcIi3Rtx572rWXa7J9wOvcLroXLWS+svPaobS7UK3Rltl0fM7oVW+ORP+1O47Ouz4uG9ria4Wm1aQFjqOLaMSab0YKzvM=

Steps to reproduce

dev mode

image

swtich to prod mode

image

What is expected?

useTemplateRef should behave consistently in both prod and dev modes, and should always be null.

What is actually happening?

useTemplateRef behaves differently in prod mode and dev mode

System Info

No response

Any additional comments?

No response

@edison1105 edison1105 added the 🐞 bug Something isn't working label Sep 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants