facebookarchive / AsyncDisplayKit

Smooth asynchronous user interfaces for iOS apps.

Home Page:http://asyncdisplaykit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enableSubtreeRasterization causes ASButtonNode to not receive touch event

dotm opened this issue · comments

The case:

  • I enableSubtreeRasterization and the NavigationWidgetSeeAllNode button (see below for detail) doesn't receive touch event
  • I comment out enableSubtreeRasterization and when I tap the NavigationWidgetSeeAllNode button, it works and print "tapped" in the console

The sample project repo is in:
https://github.com/dotm/WorkPlayground-Swift4/tree/texture

The button is called as NavigationWidgetSeeAllNode and can be found in:
https://github.com/dotm/WorkPlayground-Swift4/blob/b17b42a9cbfc14fde44e4f57f9db7cb3f7ebc94d/WorkPlayground-Swift4/ViewController.swift

I fix it by commenting this line:
dotm/WorkPlayground-Swift4@b17b42a?diff=split