agora-appbuilder-core 4.0.16 → 4.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.16",
3
+ "version": "4.0.17",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -444,6 +444,12 @@ const WhiteboardConfigure: React.FC<WhiteboardPropsInterface> = props => {
444
444
  sendLastImageUploadPositionToRemoteUsers(0);
445
445
  };
446
446
 
447
+ useEffect(() => {
448
+ if (!whiteboardActive && isWhiteboardOnFullScreen) {
449
+ setWhiteboardOnFullScreen(false);
450
+ }
451
+ }, [whiteboardActive]);
452
+
447
453
  return (
448
454
  <whiteboardContext.Provider
449
455
  value={{