-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using Tabs / TabScreen, the console outputs the following line on every render:
LOG returning no layout
This happens even when the component works correctly. It seems to be a stray debug log left in the codebase.
Expected behavior
No debug console logs should appear in production or development unless explicitly enabled via a prop or debug flag.
Steps to reproduce
- Install
react-native-paper-tabs - Use
TabsProvider,Tabs, andTabScreenas per the docs - Run the app (Android / iOS)
- Observe console output
Screenshots / Logs
Console output:
LOG returning no layout
Environment
- react-native-paper-tabs: 0.11.4
- react-native-pager-view: 6.7.1
- react-native: [your version here]
- Platform: Android (and possibly iOS)
Cause
Likely a stray console.log("returning no layout") left in the layout calculation file.
Suggested fix
Remove the console.log from the relevant file so it doesn’t spam developer logs.
xfyre and rrvilo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working