Giter Club home page Giter Club logo

Comments (8)

gabriellanata avatar gabriellanata commented on June 6, 2024 1

Created PR: #18

from hammer.

gabriellanata avatar gabriellanata commented on June 6, 2024

Hello, we recently got a report about hit test issues in some scenarios and made some update on the latest version. Please confirm if using version 0.10.0 fixes your issues and let me know.

from hammer.

littlebobert avatar littlebobert commented on June 6, 2024

I just tried 0.10.2 and now fingerDown(at: linkButton) throws HammerError.viewIsNotVisible. it seems the view has an ancestor, a UICalloutBar, that has an alpha of 0. not sure why, since I can see the callout bar in the simulator.

from hammer.

gabriellanata avatar gabriellanata commented on June 6, 2024

Hmm It shouldn't be visible if it has an alpha of 0 šŸ¤” Would you be willing to send me an export of the view hierarchy inspector or a code sample that I can run?

from hammer.

littlebobert avatar littlebobert commented on June 6, 2024

OK right after I make the UITextEffectsWindow key I no longer see the callout bar in the view hierarchy debugger (even though it is still visible in the simulator). And I get this message on the console:

UITextEffectsWindow should not become key. Please file a bug to Keyboard | iOS with this call stack: ā€¦

Iā€™m making it key since creating an EventGenerator from it throws otherwise. Is there any way you could remove the isKeyWindow requirement for the UITextEffectsWindow?

from hammer.

gabriellanata avatar gabriellanata commented on June 6, 2024

Interesting, I though that it needed to be a keyWindow to receive touches but I might be wrong, maybe that requirement was just for keyboard stuff. Can you remove that check locally and confirm it works? I would want to add a test to ensure this works if we're changing stuff for it

from hammer.

littlebobert avatar littlebobert commented on June 6, 2024

Can you remove that check locally and confirm it works?

It works for me. I opened #16. What kind of test were you thinking of? I was thinking maybe we could add a test that uses the callout bar to copy and paste some text inside a UITextField.

from hammer.

gabriellanata avatar gabriellanata commented on June 6, 2024

Yeah verified that it doesn't seem to be needed for touches, only for keyboard. I'm improving some tests and will create a PR

from hammer.

Related Issues (14)

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.