Giter Club home page Giter Club logo

Comments (10)

HeathWang avatar HeathWang commented on June 16, 2024

我这边测试正常,如果需要dismiss弹出层,你需要

  1. 慢速拖动到至少屏幕y轴中间以下
  2. 以极快速的拖动

现有交互并不是你开始拖动就关闭弹出层视图。

from hwpanmodal.

CivelXu avatar CivelXu commented on June 16, 2024

from hwpanmodal.

HeathWang avatar HeathWang commented on June 16, 2024

我试了下,确实可以复现,刚开始没理解您的意思。
感谢,我修复一下。
@CivelXu

from hwpanmodal.

HeathWang avatar HeathWang commented on June 16, 2024

@CivelXu
已修复on 0.6.4,麻烦看看修复没

from hwpanmodal.

CivelXu avatar CivelXu commented on June 16, 2024

from hwpanmodal.

HeathWang avatar HeathWang commented on June 16, 2024

微信也有类似的问题,比如侧滑把网页最小化,有短暂无法触摸的问题。
你可以把animation duration缩短,然后animation options不用spring,应该会好一点。

from hwpanmodal.

CivelXu avatar CivelXu commented on June 16, 2024

能否考虑把 transitionDuration 开始和结束的时间 分开给接口; 缩短结束的动画时间时候?如果缩短开始的时候动画效果很不好, 可以看一下今日头条的评论弹出层, 不会感受到无法触摸的情况。

from hwpanmodal.

CivelXu avatar CivelXu commented on June 16, 2024
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        duration = 0.2
    }

动态更改了duration, 可以修改 无法触摸的情况

from hwpanmodal.

HeathWang avatar HeathWang commented on June 16, 2024
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        duration = 0.2
    }

动态更改了duration, 可以修改 无法触摸的情况

可以,后面考虑加上

from hwpanmodal.

HeathWang avatar HeathWang commented on June 16, 2024

@CivelXu HWPanModal (0.6.5)
- (NSTimeInterval)dismissalDuration;

from hwpanmodal.

Related Issues (20)

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.