You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Sureshkumar041
changed the title
onOk not triggered in screen space but i have another screen that working fine
onOk not triggered when signature pad in small but i have another full screen that working fine
Mar 25, 2024
Sureshkumar041
changed the title
onOk not triggered when signature pad in small but i have another full screen that working fine
onOk not triggered when signature pad small but i have another full screen that working fine
Mar 25, 2024
1 . Not working <SignatureScreen
onBegin={() => setIsScrollEnabled(false)}
bgHeight={100}
trimWhitespace={true}
scrollable={false}
ref={signatureRef}
onClear={handleClear}
onEmpty={handleEmpty}
onEnd={handleEnd}
onOK={handleOK}
onGetData={handleData}
autoClear={false}
style={{
maxHeight: height * signHeight,
overflow: "hidden",
}}
webviewContainerStyle={{
maxHeight: height * signHeight,
}}
webStyle={webStyle}
penColor={colors.colors.black}
/>
const webStyle =
.m-signature-pad { max-Height: ${height} * ${signHeight}, margin:0px !important; overflow: hidden !important; background: white !important; border: none !important; border: 2px dashed ${signColors?.border}; } .m-signature-pad--footer {display: none !important;}
;2 Its working fine
<SignatureScreen
bgHeight={100}
trimWhitespace={true}
scrollable={false}
ref={signatureRef}
onEnd={handleEnd}
onOK={handleOK}
onEmpty={handleEmpty}
onClear={handleClear}
onGetData={handleData}
autoClear={false}
descriptionText={text}
style={{
maxHeight: height * 0.355,
backgroundColor: "white",
overflow: "hidden",
}}
webviewContainerStyle={{
maxHeight: height * 0.355,
backgroundColor: "white",
overflow: "hidden",
}}
webStyle={webStyle}
penColor={colors.colors.blue}
/>
const webStyle =
.m-signature-pad { max-Height: ${height} * ${0.355}, overflow: hidden !important; background:${signColors?.card} !important; border: none !important; border: 2px dashed ${signColors?.border}; // border-radius: 12px; // box-shadow: 0px 0px 7px 4px ${signColors?.border}; } .m-signature-pad--footer {display: none !important;}
;The text was updated successfully, but these errors were encountered: