palantir/blueprint
Vedi su GitHubPopover's boundary prop does not accept Element objects
Open
#3570 aperta il 27 mag 2019
P3Package: coreType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
Package: @blueprintjs/core@3.15.1
Issue: The boundary field of IPopoverSharedProps (defined here) does not accept values of type Element.
Description: This field (boundary) is only used as the boundariesElement field in flip and preventOverflow objects in Popper modifiers, as seen here. Both of these fields in Popper (defined here and here) accept objects of type Boundary | Element, but the boundary field defined in Blueprint only accepts Boundary.
Possible Solution: Change the type here from PopperBoundary to PopperBoundary | Element.