Commit 8b8ccea
Fix RCTDevLoadingView banner interaction (#54706)
Summary:
Pull Request resolved: #54706
Changelog:
[iOS][Fixed] - remove redundant gesture to tap button when the layer beneath is already tappable
The dismiss button had a redundant tap handler when the entire banner was already tappable.
**Redundant button interaction**: The dismiss button's `primaryAction` was removed and `userInteractionEnabled` is set to `NO`, making it purely visual. Taps on the button now pass through to the banner's tap gesture recognizer.
Reviewed By: vzaidman
Differential Revision: D87927449
fbshipit-source-id: af7dabff6f2ea23124d44bd21e82c789176f3acf1 parent f973543 commit 8b8ccea
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
0 commit comments