Toggle lightbox controls on tap (#1687)
* Make the lightbox controls animation smoother * Toggle controls on tap * Disable pointer events when hidden
This commit is contained in:
parent
f447eaa669
commit
abfd9a8c0b
4 changed files with 81 additions and 63 deletions
|
|
@ -7,6 +7,7 @@ import {ImageSource} from '../../@types'
|
|||
type Props = {
|
||||
imageSrc: ImageSource
|
||||
onRequestClose: () => void
|
||||
onTap: () => void
|
||||
onZoom: (scaled: boolean) => void
|
||||
isScrollViewBeingDragged: boolean
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue