Skip to content

Can't scroll if I add the image tag into the scroll wrapper #44

@cnt1992

Description

@cnt1992

Just like the title , when I type the code like this:

<ReactIScroll iScroll={iScroll}
                        options={iScrollOptions}
                        onRefresh={this._handleScrollRefresh}
                        onScrollStart={this._handleScrollStart}
                        probeType={2}
                        onScrollEnd={this._handleScrollEnd}>                        
  <div style={{width: "100%"}}>
    <ul>
      <li><img src="xxx" alt=""/></li>
      <li><img src="xxx" alt=""/></li>
      <li><img src="xxx" alt=""/></li>
    </ul>
  </div>
</ReactIScroll>

and then I can't scroll, could you tell me how to fixed it? thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions