imnapo / react-native-cn-quill

Quill rich-text editor for react-native
MIT License
190 stars 77 forks source link

QuillToolbar touch is not responsive #44

Open shivam0831 opened 3 years ago

shivam0831 commented 3 years ago

QuillToolbar touch is not responsive. When I am trying to select an option from the toolbar sometimes it's not being selected and after clicking to x2 option the keyboard exit automatically. any solution regarding this?

I am using example code

import React from 'react'; import { SafeAreaView, StyleSheet, StatusBar } from 'react-native'; import QuillEditor, { QuillToolbar } from 'react-native-cn-quill'; export default function App() { const _editor = React.createRef();

return (
    <SafeAreaView style={styles.root}>
        <QuillToolbar editor={_editor} options="full" theme="light" />
        <QuillEditor
            style={styles.editor}
            ref={_editor}
        />
    </SafeAreaView>
);

}

const styles = StyleSheet.create({ title: { fontWeight: 'bold', alignSelf: 'center', paddingVertical: 10, }, root: { flex: 1, marginTop: StatusBar.currentHeight || 0, backgroundColor: '#eaeaea', }, editor: { flex: 1, padding: 0, borderColor: 'gray', borderWidth: 1, marginHorizontal: 30, marginVertical: 5, backgroundColor: 'white', }, });

imnapo commented 3 years ago

@shivam0831 could you please specify your testing environment.

shivam0831 commented 3 years ago

I am testing on android device.

surendrayalakala commented 3 years ago

@shivam0831 bro

by using QuillToolbar In android debug mode my android app does not crash but in Release mode app gets crashed. any help on this.

Thanks in advance

fangasvsass commented 1 year ago

@shivam0831 bro

by using QuillToolbar In android debug mode my android app does not crash but in Release mode app gets crashed. any help on this.

Thanks in advance

Did you solve this crash?