From 67e8bc3fc8cc57c8504a163760b8a1ed51638015 Mon Sep 17 00:00:00 2001 From: Kieran Mann Date: Tue, 12 Jul 2022 13:41:19 -0700 Subject: [PATCH] docs: add callout to README doc for View --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab81eb529..4eb845193 100644 --- a/README.md +++ b/README.md @@ -1844,7 +1844,13 @@ useBVH(mesh) Views use gl.scissor to cut the viewport into segments. You tie a view to a tracking div which then controls the position and bounds of the viewport. This allows you to have multiple views with a single, performant canvas. These views will follow their tracking elements, scroll along, resize, etc. -It is advisable to re-connect the event system to a parent that contains both the canvas and the html content. This ensures that both are accessible/selectable and even allows you to mount controls or other deeper integrations into your view. +It is advisable to re-connect the event system to a parent that contains both the canvas and the html content. +This ensures that both are accessible/selectable and even allows you to mount controls or other deeper +integrations into your view. + +> Note that `@react-three/fiber` newer than `^8.1.0` is required for `View` to work correctly if the +> canvas/react three fiber root is not fullscreen. A warning will be logged if drei is used with older +> versions of `@react-three/fiber`. ```tsx