Hi everyone,
I’m using showFlag
from @forge/bridge
to show a success message in a Forge app like this:
setTimeout(() => {
showFlag({
id: 'save-success',
description: 'string',
type: 'success',
isAutoDismiss: true,
});
}, 1500);
However, when I omit the title
, the success icon appears on a separate line above the description.
This makes the flag look inconsistent and awkward compared to AP.flag.create()
in Connect, which displays the icon and text inline — even with no title.
I’ve tried setting title: “” or title: ‘\u00A0’ => no change
Expected: If no title
is provided, I’d expect the icon and description
to stay on the same line, just like AP.flag.create()
.
My setup:
Forge Bridge version: 4.1.0, I’ve tried upgrade it to 5.0, still did not work.
Is this a known issue with showFlag
, or is there a recommended way to keep the layout inline without using a title?
Thanks in advance!