GeekyAnts / GeekyAnts/NativeBase

Popover to allow animation controls, like Modal

Open
#5,651 0 comments 0 reactions 0 assignees View on GitHub
feature request triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Currently, Modal has animation controls, which can be added as _fade props (or _slide props).
I would like the same control ability on Popover, which currently has the animation controls hard coded (see src/components/composites/Popover/Popover.tsx lines 98-100).

It would take a slightly different form, as we'd add props to the , instead of the component (see src/components/composites/Modal/Modal.tsx line 113).

### Problem Statement

Popover has no control over the animation, but should provide some.

### Proposed Solution or API

Similar to how you current add animation controls to Modal:

I would want the same idea on Popover

### Alternatives

_No response_

### Additional Information

https://github.com/GeekyAnts/NativeBase/blob/master/src/components/composites/Modal/Modal.tsx
https://github.com/GeekyAnts/NativeBase/blob/master/src/components/composites/Popover/Popover.tsx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.