Page MenuHomePhabricator

Console warning: The "anchor" prop must be provided to position the CdxPopover.
Open, Needs TriagePublic

Description

Steps to reproduce:

When viewing the revision history, the following console warning is logged:

[CdxPopover]: The "anchor" prop must be provided to position the CdxPopover.
at codex.umd.cjs:1
at vue.js:5
at (anonymous) @ init.js:13
at setTimeout		
at modules/ext.checkUser.userInfoCard/init.js @ init.js:3

Example: https://test.wikipedia.org/w/index.php?title=User:Ikan/HotCat.js&action=ehistory

Other information:

  • Happens in both Vector and Vector 2022.
  • Happens in both Firefox and Chrome.

I wonder if this might explain why the initial loading state renders too small (cut off or lacking margin?)

Screenshot 2025-09-18 at 19.29.01.png (886×240 px, 65 KB)

Might be related:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I got the same warning in a gadget I just made, where I had followed the examples for CdxPopover of setting :anchor="currentTrigger" and initialising currentTrigger to ref( null ).

This edit made the warnings go away, but I don't know if it's a good solution.