question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unexpected behavior on iOS safari in RTL direction

See original GitHub issue

Hello. I am using your great library to show my horizontal lists in RTL mode. it’s about OK in android and chrome , just a little buggy. but it’s totally weird in safari. You can see the behavior below:

ezgif-1-39c63d0edf24

<InfiniteLoader isItemLoaded={index => { return this.isLoading || index < this.props.totalCount; }} itemCount={this.props.totalCount} threshold={1} loadMoreItems={(start, end) => console.log('$$$$$$$$$$$$$$$$$$$$$$$$', start , end)}> {({ onItemsRendered, ref }) => ( <List className="List" direction="rtl" height={itemHeight} layout="horizontal" itemCount={this.props.vendors ? this.props.vendors.length : 0} itemSize={itemWidth} onItemsRendered={onItemsRendered} ref={ref} width={window.innerWidth}> {this.itemRenderer} </List> )} </InfiniteLoader>

itemRenderer = (props) => { return <HomeVendorItem {...this.props.vendors[props.index]} style={props.style} isSuperMarket={this.props.isSuperMarket} sendAmplitudeEvent={this.props.sendAmplitudeEvent}/>; };

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bvaughncommented, Jul 29, 2019

Thanks folks for the added info!

Seems like there’s something about the application code then. It’s hard to do more with this, given that we can’t see the code or the even the app that’s showing this problem. cc @mjseyyedi

0reactions
ahmedelgabricommented, Jul 29, 2019

Same here, can’t reproduce on Safari iOS 12.4 on iPhone 6. The demo works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS (direction : rtl, text-overflow: elli… - Apple Community
Hi everyone! The result is different with other browser! just code run each browser ( safari and others ( Chrome.. etc...) here is...
Read more >
iPad Safari improper scrolling in RTL with wide content
Using iPad Safari · Page is in RTL (right to left) mode (Arabic locale) · Page dynamically loads some content which is wider...
Read more >
direction - CSS: Cascading Style Sheets - MDN Web Docs
The direction CSS property sets the direction of text, table columns, and horizontal overflow. Use rtl for languages written from right to ...
Read more >
Web app manifest
It's not possible to debug web app manifests in Safari, the only option you have to see if it's working is to try...
Read more >
Custom Query – CKEditor
#6297 · Unexpected behavior when toggling bulleted/numbered list with a ... BIDI: Indent & List icons are not reversed when we apply RTL...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found