-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
187 Ten Tap #190
187 Ten Tap #190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, great addition to the file and in changing the text editor. Has made the code a little more simpler and cleaner.
@ademDurakovic, you did a good job, but a few things should be improved in your work. The Toolbar Alignment Issue: The toolbar is not aligned properly; it should be positioned right above the keyboard. Theme Issue: Your Output on iOS: |
Here are how the new changes look: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ademDurakovic On Android, dark mode is not working as expected. The editor remains white while in dark mode. Please modify the code to set it to black.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, great work on this, everything looks great and all the additions seem valid and correct! Great job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ademDurakovic I like the changes you've made. But, I came across an issue: the toolbar is not aligned properly.
Issue:
On iOS 12, the toolbar is not showing. It should work on all devices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall Good Effort however when you enter EditNoteScreen you see this error on the console log
**### Warning: React has detected a change in the order of Hooks called by EditNoteScreen. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
Previous render Next render
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useRef useRef
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useState useState
-
useRef useRef
-
useState useState
-
useState useState
-
useState useState
-
useContext useContext
-
useState useState
-
useRef useRef
-
useRef useRef
-
useRef useRef
-
useRef useRef
-
useMemo useMemo
-
useMemo useMemo
-
useEffect useEffect
-
useEffect useEffect
-
useState useState
-
useState useState
-
useEffect useEffect
-
useEffect useEffect
-
useEffect useEffect
-
useState useState
-
useState useState
-
useRef useRef
-
useState useState
-
useEffect useEffect
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
useContext useContext
-
undefined useContext
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^in EditNoteScreen (created by EditNote)
in EditNote (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View (created by CardContainer)
in RCTView (created by View)
in View
in CardSheet (created by Card)
in RCTView (created by View)
in View (created by Animated(View))
in Animated(View) (created by PanGestureHandler)
in PanGestureHandler (created by PanGestureHandler)
in PanGestureHandler (created by Card)
in RCTView (created by View)
in View (created by Animated(View))
in Animated(View) (created by Card)
in RCTView (created by View)
in View (created by Card)
in Card (created by CardContainer)
in CardContainer (created by CardStack)
in RCTView (created by View)
in View (created by MaybeScreen)
in MaybeScreen (created by CardStack)
in RCTView (created by View)
in View (created by MaybeScreenContainer)
in MaybeScreenContainer (created by CardStack)
in RCTView (created by View)
in View (created by Background)
in Background (created by CardStack)
in CardStack (created by HeaderShownContext)
in RCTView (created by View)
in View (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by StackView)
in RCTView (created by View)
in View (created by GestureHandlerRootView)
in GestureHandlerRootView (created by StackView)
in StackView (created by StackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by StackNavigator)
in StackNavigator (created by HomeStack)
in HomeStack (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by BottomTabView)
in RCTView (created by View)
in View (created by Screen)
in RCTView (created by View)
in View (created by Background)
in Background (created by Screen)
in Screen (created by BottomTabView)
in RCTView (created by View)
in View (created by ResourceSavingScene)
in RCTView (created by View)
in View (created by ResourceSavingScene)
in ResourceSavingScene (created by MaybeScreen)
in MaybeScreen (created by BottomTabView)
in RCTView (created by View)
in View (created by MaybeScreenContainer)
in MaybeScreenContainer (created by BottomTabView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by BottomTabView)
in BottomTabView (created by BottomTabNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by BottomTabNavigator)
in BottomTabNavigator (created by AppNavigator)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by AppNavigator)
in AppNavigator (created by App)
in ThemeProvider (created by App)
in Provider (created by App)
in App (created by withDevTools(App))
in withDevTools(App)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)**this will break the application I would ask you to have a look at this and fix it before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ademDurakovic On Android, two toolbars are being rendered. Please check iOS as well.
Fixes #187
Fixes: Replaced the richTextEditor to use the new tenTap library.
Why: TenTap is a more active library with help.
What got changed: Library import was added the editor was initialized and JSX components were added like the textpad/