FORCDK-CORE-006
Warned by a shared forty-cdk/core check, which reports under the primitive that ran it, in development builds only.
[forty-cdk/{primitive}] FORCDK-CORE-006: {piece} is mounted while the surface is closed.Cause
Presence in the DOM is the consumer's job, and there is no forceMount input — a surface kept mounted while closed never runs `animate.enter` / `animate.leave`, and the lifecycle it sets up on mount stays live while closed.
Fix
Wrap it with `@if ({condition})` so it unmounts on close. See the {primitive} README.
Where it comes from
projects/forty-cdk/core-overlay/src/overlay-controller/mounted-while-closed.ts:71
A value in braces is filled in when the message is reported, so the sentence in your console names the piece, input or value that failed.