Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<StatusUpdateForm/> bug #19

Closed
AlexisJamin opened this issue Dec 5, 2018 · 5 comments
Closed

<StatusUpdateForm/> bug #19

AlexisJamin opened this issue Dec 5, 2018 · 5 comments

Comments

@AlexisJamin
Copy link
Contributor

AlexisJamin commented Dec 5, 2018

Related with the <CommentBox/> bug, I just found out a bug with < StatusUpdateForm/>

I get :

img_e3072530e0a6-1

I have an iPhone 6S.

I think it's a problem with react-native-sticky-keyboard-accessory package. It does not stick to keyboard.

EDIT : same bug with my Huawei Y6 2018 :

whatsapp image 2018-12-05 at 13 19 14

@AlexisJamin
Copy link
Contributor Author

AlexisJamin commented Dec 5, 2018

Maybe you should update "react-native-sticky-keyboard-accessory": "^0.1.1" to 0.1.2 ?

cf : https://github.com/just4fun/react-native-sticky-keyboard-accessory

EDIT : I tried with version 0.1.2, same problem. The repo is bugged it seems.

I opened an issue on it : just4fun/react-native-sticky-keyboard-accessory#1

Here is my code without <StatusUpdateForm/> :

export default class FeedFriends extends React.Component {

  constructor() {
    super();
  }

render () {
  return (

    <View style={{flex:1, backgroundColor:'white'}}> 

    <StreamApp
          apiKey="xxxx"
          appId="xxxx"
          token="xxx"
      >
     <FlatFeed 
     	Activity={CustomActivity} 
     	Notifier={CustomNotifier} 
     	notify 
     />
     <KeyboardAccessory>
	  <View style={{ flexDirection: 'row', height: 40 }}>
	    <TextInput
	      style={{ flex: 1, height: 30, borderWidth: 1 }}
	      placeholder='Click me!' />
	  </View>
	</KeyboardAccessory>
    </StreamApp>

    </View>           

    );
  }
}

Here is what I get :

img_4d0259bcdd16-1

@AlexisJamin
Copy link
Contributor Author

AlexisJamin commented Dec 6, 2018

I'm also using react-navigation : 2.13.0. And createMaterialTopTabNavigator with TabBarPosition: "bottom".

img_d771c9641d17-1

If I put TabBarPosition: "top", it removes the bug :

img_4c9c236cc8cf-1

@JelteF
Copy link
Contributor

JelteF commented Dec 11, 2018

I'm not sure what to do to fix this. It seems more like a bug in the KeyboardAccessory indeed

@AlexisJamin
Copy link
Contributor Author

Yes. Just emailed you. We need to debug at the source. It bugs with react-navigation.

See snack : https://snack.expo.io/ByDDZv_yN

And issue : just4fun/react-native-sticky-keyboard-accessory#1

@JelteF
Copy link
Contributor

JelteF commented Dec 14, 2018

I just released v0.6.16 with the verticalOffset prop for StatusUpdateForm: https://getstream.github.io/react-native-activity-feed/#statusupdateform

@JelteF JelteF closed this as completed Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants