Code Monkey home page Code Monkey logo

Comments (8)

bfeher avatar bfeher commented on July 18, 2024

Hi @hsavit1!

I'm having a hard time seeing this effect. Which version are you using and on which device?
I'm testing with v2.0.18 on an iPad 4th gen running iOS 8.3 and I cannot see this effect.

from bfpaperbutton.

hsavit1 avatar hsavit1 commented on July 18, 2024

I'm testing with the same version, and on iOS 8.3. My button is constrained
to edges with auto layout and has a mapview as a sub view, if that helps.

On Thursday, May 21, 2015, Bence Feher [email protected] wrote:

Hi @hsavit1 https://github.com/hsavit1!

I'm having a hard time seeing this effect. Which version are you using and
on which device?
I'm testing with v2.0.18 on an iPad 4th gen running iOS 8.3 and I cannot
see this effect.


Reply to this email directly or view it on GitHub
#16 (comment)
.

Sent from Gmail Mobile

from bfpaperbutton.

bfeher avatar bfeher commented on July 18, 2024

The circles fade in until either the animation duration is reached or the tap has ended. At which point they burst and fade out. The animation values continue where they left off, so if you tap lightly the circle doesn't fade in very much and begins to fade out from its current alpha value.

I am not yet able to reproduce a more noticeable circle on the first tap. Perhaps the mapview is delaying the touch or interacting with it in some way? Autolayout should have no effect on the circle animations.

You may want to try using BFPaperView instead if you plan on adding complex subviews. Though I'm not sure if that will solve your issue.

from bfpaperbutton.

bfeher avatar bfeher commented on July 18, 2024

If you could upload a gif that would be helpful.

from bfpaperbutton.

hardikamal avatar hardikamal commented on July 18, 2024

Hi @bfeher & @hsavit1 - Me too facing same problem...it requires long press to see the ripple effect...any solution found??

from bfpaperbutton.

bfeher avatar bfeher commented on July 18, 2024

Hi @hardikamal - Have you read my previous comments? This may be the expected behavior. If you are using a mapview or some kind of complex subview in the button, I suggest using BFPaperView.

If you still believe this to be a bug I would really like some more information as well as some kind of evidence so I can better understand what's going on.

Thanks :)

from bfpaperbutton.

hardikamal avatar hardikamal commented on July 18, 2024

Hi @bfeher & @hsavit1....by disabling delay content touches on scrollview/uitableview/uicollectionview we get click effect on without longpress...Thanks solved

from bfpaperbutton.

bfeher avatar bfeher commented on July 18, 2024

Glad to hear that :)

from bfpaperbutton.

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.