acl-services / acl-services/paprika
Popover – RawButton wraps Trigger when not needed
Ouverte
Feature Request
- Langage dominant
- JavaScript
- Étoiles
- 54
- Forks
- 10
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 6
Description
# Bug Report
## Expected behavior
When a `` is used with the ``, no `` should wrap it. However, sometimes if an `` or other non-interactive element is used for the trigger, it may still be convenient.
## Current behavior
When the `` is given a `node` as `children`, it will always wrap it with a ``. It's necessary to provide a `function` as `children` to avoid this behaviour.
## Examples
``
https://github.com/acl-services/paprika/pull/113#discussion_r302289468
### 📙 Storybook
http://storybooks.highbond-s3.com/paprika/master
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.