Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwards cell's hitTest:withEvent and pointInside:withEvent calls to node. #1257

Closed

Conversation

stremsdoerfer
Copy link

Unlike ASDisplayView, ASCollectionView doesn't redirect its hitTest:withEvent and pointInside:withEvent calls to its node. As a result, if a cell has a node that has a hitTestSlop that goes beyond the cell bounds it will be ignored.
This PR fixes that issue by forwarding the cell hitTest and pointInside calls to the node.

@CLAassistant
Copy link

CLAassistant commented Nov 28, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@Adlai-Holler Adlai-Holler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a formatting change

Source/Details/_ASCollectionViewCell.mm Outdated Show resolved Hide resolved
Source/Details/_ASCollectionViewCell.mm Outdated Show resolved Hide resolved
@maicki
Copy link
Contributor

maicki commented Dec 6, 2018

Replaced by #1268 . Thanks @stremsdoerfer for working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants