Skip to content

Commit 28a03fa

Browse files
authored
Fix invalid example of <View> pointer-events value (#1083)
Fix invalid example of <View> pointer-events value
2 parents f5bcc15 + 00430ee commit 28a03fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,15 +327,15 @@ Controls whether the `View` can be the target of touch events.
327327
pointer-events: none;
328328
}
329329
.box-none * {
330-
pointer-events: all;
330+
pointer-events: auto;
331331
}
332332
```
333333

334334
- `'box-only'`: The view can be the target of touch events but it's subviews cannot be. It behaves like if the view had the following classes in CSS:
335335

336336
```
337337
.box-only {
338-
pointer-events: all;
338+
pointer-events: auto;
339339
}
340340
.box-only * {
341341
pointer-events: none;

0 commit comments

Comments
 (0)