Unplanned
Last Updated: 15 Dec 2021 11:57 by ADMIN
Georgi
Created on: 15 Dec 2021 08:52
Category: DropDownButton
Type: Feature Request
1
DropDownButton: Allow passing a PopupAnimation config object to the animate property of the popupSettings input

The animate property of a PopupSettings object passed to the DropDownButton's popupSettings input, officially only supports a boolean value.

The component seems to already be working as expected if a PopupAnimation is passed to the animate property instead of boolean.

However, doing this results in a Typescript error, as this configuration is not officially supported:

Type '{ direction: string; }' is not assignable to type 'boolean | undefined'.
Type '{ direction: string; }' is not assignable to type 'true'.ngtsc(2322)

Please make this configuration part of the officially supported API of the component.

For reference download the attached project and run npm i and ng serve.

0 comments