rn-emoji-picker icon indicating copy to clipboard operation
rn-emoji-picker copied to clipboard

Fix broken style for textinput and too big tabbar icon on android

Open congduong97 opened this issue 1 year ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/rn-emoji-picker/dist/input/index.js b/node_modules/rn-emoji-picker/dist/input/index.js
index 8b8e56a..58c0c8a 100644
--- a/node_modules/rn-emoji-picker/dist/input/index.js
+++ b/node_modules/rn-emoji-picker/dist/input/index.js
@@ -17,16 +17,15 @@ exports.Input = Input;
 const styles = react_native_1.StyleSheet.create({
     container: {
         borderRadius: 4,
-        overflow: 'hidden',
         height: 34,
         flexDirection: 'row',
         alignItems: 'center'
     },
     input: {
-        flex: 1,
         paddingHorizontal: 15,
         height: 34,
-        fontSize: 16
+        fontSize: 16,
+        padding:0
     }
 });
 //# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/node_modules/rn-emoji-picker/dist/tabBar/index.js b/node_modules/rn-emoji-picker/dist/tabBar/index.js
index bcbfcf8..3fd011d 100644
--- a/node_modules/rn-emoji-picker/dist/tabBar/index.js
+++ b/node_modules/rn-emoji-picker/dist/tabBar/index.js
@@ -15,7 +15,7 @@ const TabBar = ({ categories, activeCategory, onPress, darkMode, width }) => {
                 ]}>
 							<react_native_1.Text style={[
                     styles.emoji,
-                    { fontSize: uiSize }
+                    { fontSize: 20 }
                 ]}>
 								{category.emoji}
 							</react_native_1.Text>
@@ -40,7 +40,7 @@ const styles = react_native_1.StyleSheet.create({
     },
     emoji: {
         textAlign: 'center',
-        paddingBottom: 8
+        paddingBottom: 8,
     }
 });
 //# sourceMappingURL=index.js.map
\ No newline at end of file

This issue body was partially generated by patch-package.

congduong97 avatar Jan 19 '24 07:01 congduong97