Giter Site home page Giter Site logo

ciaotransitions's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ciaotransitions's Issues

Problem after dismiss view controller

After opening a viewController using the .vertical (or any other) type, the viewController is presented normally, without problems. However, the problem occurs after dismissing the presented viewController.

The collectionView of the first viewController "loses its position", and the entire app is positioned slightly higher.

In addition the statusBar becomes transparent, and the collectionView starts to appear behind it.

1) In this moment, everything is fine

Simulator Screen Shot - iPhone 6 - 2019-12-27 at 11 53 40

2) Now, the viewController controller is open

Simulator Screen Shot - iPhone 6 - 2019-12-27 at 11 53 57

3) Now after dimiss, the top of collectionView is a little higher.

Simulator Screen Shot - iPhone 6 - 2019-12-27 at 11 54 07

4) And, if a i scroll the collectionView, this happen.

Simulator Screen Shot - iPhone 6 - 2019-12-27 at 11 54 21

I am presenting the viewController like this

           let detailViewController = ScrollFadeViewController()

            configurator.dragDownEnabled = true
            configurator.dragLateralEnabled = false

            let transition = CiaoTransition(style: .vertical, configurator: configurator)

            detailViewController.ciaoTransition = transition 
            detailViewController.transitioningDelegate = transition 
            detailViewController.modalPresentationCapturesStatusBarAppearance = false
            detailViewController.modalPresentationStyle = .fullScreen
            detailViewController.hidesBottomBarWhenPushed = true

            navigationController?.delegate = transition
            present(detailViewController, animated: true, completion: nil)

And im my initial viewController, i configurate the collectionView like this:

        feedCollectionView.delaysContentTouches = false
        feedCollectionView.dataSource = self
        feedCollectionView.delegate = self
        feedCollectionView.clipsToBounds = false
        feedCollectionView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 20, right: 0)
        feedCollectionView.contentInsetAdjustmentBehavior = .never

Thanks in advance for any help.

"iOS 13"-like behavior

It would be great if the existing transitions could adopt the new iOS 13 modal behaviors:

  • Don't fully cover the presenting controller which shrinks with rounded corners and set's navigation bar and other views' tint to gray.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.