Git Product home page Git Product logo

Comments (3)

lyxia avatar lyxia commented on July 18, 2024 1

1、我用了0.50才有的属性来判断是否为iPhoneX
2、高版本的RCTTextInput和低版本的实现不一样,原生有改动
其实可以自己判断iPhoneX不用原生的,RCTTextInput弄个Tag来适配低版本的RN,只需要改iOS的原生。但是最近比较忙,有时间我会弄一个。里面其实有很多不好的地方,比如说键盘的高度也写死了,写了252,如果你有比较好的做法,或者有时间能帮我看看,欢迎你提PR ^_^

from react-native-yusha-customkeyboard.

orzhtml avatar orzhtml commented on July 18, 2024

我看你写的 MyRNStartKit 是可以运行自定义键盘的,RN版本也不高,为什么这个独立出来的,需要RN0.50呢

from react-native-yusha-customkeyboard.

orzhtml avatar orzhtml commented on July 18, 2024

适当兼容低版RN是大众的
react-native-yusha-customKeyboard 看了代码非常棒。

from react-native-yusha-customkeyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.