Skip to content

Road to 1.0 (request for comments)Β #104

@oblador

Description

@oblador

I'm taking up development of this repo again of this package after a long silence in belief that this should be solved at the navigation level. I've been convinced that there still use cases for this package after all and my hopes of navigation libraries properly supporting shared element transitions hasn't really been fulfilled.

Since there has been a lot of developments in the React Native community (such as Android support, native animation driver etc) since the inception of this package, I'll be starting over from a clean slate. API will most likely change, but will keep backwards support when possible/sane. Before starting it'd be nice to hear from the community which features are the most important, so I've done a quick outline of my requirements/priorities.

Please comment with your thoughts and priorities. If you want to help out in in form (like development, documentation, issue triaging, testing etc) please reach out here or to me personally on twitter at @trastknast.

Must have

  • Support for custom Image component (ImageProgress, FastImage etc)
  • Support for lo-res thumbnail -> hi-res transition
  • Set up CI to run tests and release
  • Andorid hardware back button support
  • Gesture to close by swiping down/up
  • No dependency on navigation lib
  • No dependency on Modal
  • Improved peformance with native animation driver
  • Feature parity between Android and iOS

Really nice to have

  • Support for aspect-ratio change from thumbnail -> hi-res
  • Pinch to zoom
  • Support for gallery mode
  • Configurable Touchable component
  • Configurable transition properties
  • Configurable status bar transitioning
  • Configurable/custom header/footer

Nice to have

  • Pure JavaScript implementation
  • Integration library with react-navigation (et al)
  • Integration library with redux
  • Support Image->Video transition
  • Some form of lifecycle support (will/did open/close)

On the fence

  • Orientaion change support
  • Programmatic way of opening/closing lightbox

Not doing

  • Generic shared element transition

Ping @StevenMasini @peteroid @elkinjosetm @bilalsyed001 @ncuillery @ZackLeonardo @Kureev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions