alessiocancian / react-native-side-menu Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kureev/react-native-side-menu
Side menu component for React Native
License: MIT License
This project forked from kureev/react-native-side-menu
Side menu component for React Native
License: MIT License
Describe the solution you'd like
Like similar libraries, support displaying as an overlay in addition to push, static, etc.
Describe the bug
I did see the demo file with structure, but when employed in my project it displays very strangely.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Platform:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
how to run in android? Why i cannot run and the sidemenu doesn't appear.
When I close the keyboard for a moment I can see the menu screen in the same space where the keyboard was.
This does not happen in IOS.
I tried this:
<SideMenu menu={isOpen ? menu : <View style={{ backgroundColor: Color.transparent }}></View>}
Then I see a white background for a moment with the same keyboard size.
"react-native-side-menu-updated": "^1.3.2",
"react-native": "~0.63.3",
"react": "~16.13.1",
"react-navigation-stack": "^2.10.0",
"react-navigation-tabs": "^2.10.1",
"react-navigation-transitions": "^1.0.12",
Describe the bug
React native in force RTL not working as expected,
on RTL mode the view will slide to left, but the menu will be left:0 so won't be shown
To Reproduce
on react native web set all view on direction: RTL
and add in sidemenu prop "menuPosition="right"
Platform:
Fix
on index.js line 265
I changed:
const boundryStyle = this.props.menuPosition === 'right'
? { left: this.state.width - this.state.openMenuOffset }
: { right: this.state.width - this.state.openMenuOffset };
const menu = (
<View style={[styles.menu, boundryStyle]}>
{this.props.menu}
</View>
);
to:
const menu = (
<View style={[styles.menu, { right: this.state.width - this.state.openMenuOffset }]}>
{this.props.menu}
</View>
);
and line 327 I marked this:
// {"mode":"full","isActive":false}
Now it is working smoothly on LTR & RTL mode.
thx
Describe the bug
Sidebar prevents scroll down in React Native Web
To Reproduce
Steps to reproduce the behavior:
this error show if i used onchange function to update state, im used hooks component for with this
Describe the bug
When using this library on NextJS, it throws this warning:
Warning: Prop
style did not match. Server: "right:NaNpx" Client: "right:137.33333333333337px"
To Reproduce
Steps to reproduce the behavior:
Platform:
I found out that I can set the size of the side menu using openMenuOffset
, however I noticed that when the app starts in landscape mode, the same values renders different width sizes. Is there another way to set the width of the menu.
question :
My SideMenu contents are visible even when the side menu is hidden
description:
When my sidebar is false, my page can still see the sidebar content。 I saw the FAQ of your npm document, "Ensure that your main view has a background color applied", but I added no effect
How to solve this problem? thank
When the app starts the screen, the menu has appeared and after a few moments, it disappears.
How to fix and what is the problem?
I already set the isOpen={false}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.