Novu changelog
v2.6.2 Inbox popover position control
You can now control the position of the popover content by specifying the placement
and placementOffset
props for the @novu/react component.
<Inbox
applicationIdentifier="Your App ID"
subscriberId="Subscriber ID"
placement="bottom-end"
/>
The package supports the following placements:
type Placement = "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | "bottom" | "left" | "right" | "top";
For further adjusting the placement the placementOffset
could be used:
<Inbox
applicationIdentifier="Your App ID"
subscriberId="Subscriber ID"
placement="bottom-end"
placementOffset={10}
/>
Fixes
Truncate workflow name and center empty notifications text in preference component