Giter Club home page Giter Club logo

Comments (8)

ObjectiveB avatar ObjectiveB commented on August 26, 2024

If it helps, this issue happens even with a single TITokenFieldView. But I'm adding the TITokenFieldView as a subview to a webview.scrollView entity.

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

I'm unable to replicate this with the example project, can you put together a project which demonstrates the issue for me?

from titokenfield.

ObjectiveB avatar ObjectiveB commented on August 26, 2024

I was able to reproduce it. It happens when the view hierarchy is this: TITokenFieldView as subview of a parent UIView "ABC". The parent UIView is then added as a subview of the overall webView.scrollView entity.

I tried removing the UIView "ABC" and added the TITokenFieldView as a direct subview to webView.scrollView. Now it works as intended, doesn't collapse. Was able to replicate this in your example project as well using the same view hierarchy as described above. Try adding the TITokenFieldView as a subview to a UIView which is then a subview to a web view's scrollview.

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

So it works if you don't use a view between the TITokenFieldView and the UIWebView scrollview?

from titokenfield.

ObjectiveB avatar ObjectiveB commented on August 26, 2024

Yep. Works when there's no view in between, contracts on tapping tokens from line 3 or 4 onward when there's a view in between.

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

And this view is just a standard UIView? No default property values have been changed (specifically to do with touch)?

from titokenfield.

ObjectiveB avatar ObjectiveB commented on August 26, 2024

Yeah, a plain vanilla UIView, just alloc init-ed and a frame set. Nothing set or changed w.r.t touch events.

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

Weird weird weird. I'll have a poke around soon

from titokenfield.

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.