Fixed scroll issue on login screen

This commit is contained in:
Ajay Bura 2021-09-14 08:33:17 +05:30
parent 470fdd62bb
commit 7ba1aabc09

View file

@ -10,6 +10,7 @@ import Text from '../../atoms/text/Text';
import Button from '../../atoms/button/Button'; import Button from '../../atoms/button/Button';
import Input from '../../atoms/input/Input'; import Input from '../../atoms/input/Input';
import Spinner from '../../atoms/spinner/Spinner'; import Spinner from '../../atoms/spinner/Spinner';
import ScrollView from '../../atoms/scroll/ScrollView';
import CinnySvg from '../../../../public/res/svg/cinny.svg'; import CinnySvg from '../../../../public/res/svg/cinny.svg';
@ -266,6 +267,7 @@ Auth.propTypes = {
function StaticWrapper({ children }) { function StaticWrapper({ children }) {
return ( return (
<ScrollView invisible>
<div className="auth__wrapper flex--center"> <div className="auth__wrapper flex--center">
<div className="auth-card"> <div className="auth-card">
<div className="auth-card__interactive flex-v"> <div className="auth-card__interactive flex-v">
@ -280,6 +282,7 @@ function StaticWrapper({ children }) {
</div> </div>
</div> </div>
</div> </div>
</ScrollView>
); );
} }