Skip to content

ScrollView iosalwaysBounceVertical not working #15645

Closed
@Symous

Description

@Symous

Is this a bug report?

Maybe yes...

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v: 0.45.1
  2. node -v: 8.1.2
  3. npm -v: 5.3.0
  4. yarn --version:

Then, specify:

  • Target Platform: Android
  • Development Operating System:MacOS

Steps to Reproduce

  1. add a vertical scrollview component to the page;
  2. add some items to the scrollview;
    3.even the items don't fill the screen, the content still can scroll down a few distance;

I have try to add iosalwaysBounceVertical = {false} and iosbounces = {false} prop, but still not working. that is not occurred with Android.

Expected Behavior

if the items are not long enough to fill the screen, the items can not be scrolled manually;

Actual Behavior

they can be scolled;

(Write what happened. Add screenshots!)

Reproducible Demo

 <ScrollView showsVerticalScrollIndicator={false}>
          {
            d.plan.map((item,index)=>{
              return <View key={index}>{this.renderItem(item,d)}</View>
            })
          }
</ScrollView>

(Paste the link to an example project and exact instructions to reproduce the issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions