react-native-signature-canvas icon indicating copy to clipboard operation
react-native-signature-canvas copied to clipboard

How can I remove the bottom margin?

Open yamatsum opened this issue 3 years ago • 4 comments

IMG_4055

              <SignatureScreen
...
                webStyle={`
                .m-signature-pad {
                  flex: 1;
                  box-shadow: none;
                  border-radius: 10px;
                }
                .m-signature-pad--footer {
                  display: none;
                }
                `}
              />

yamatsum avatar Nov 04 '21 15:11 yamatsum

Is this problem solved?

YanYuanFE avatar Dec 06 '21 15:12 YanYuanFE

@YanYuanFE Not yet! Is there any solution?

yamatsum avatar Dec 07 '21 00:12 yamatsum

<View style={styles.box}>
        <SignatureScreen
            ref={ref}
            onOK={handleSignature}
            webStyle={`
                .m-signature-pad {
                  flex: 1;
                  box-shadow: none;
                  border-radius: 10px;
                }
                .m-signature-pad--footer {
                  display: none;
                }
                `}
            backgroundColor={'rgba(255,255,255,0)'}
        />
      </View>

box: {
    backgroundColor: 'green',
    height: 300
  }

you can use a View box with style: height

YanYuanFE avatar Dec 13 '21 14:12 YanYuanFE

height: 100vh;

glacjay avatar Sep 29 '22 07:09 glacjay