Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Bug visual with the arrows. #10

Open
FreeCoder22 opened this issue Apr 12, 2018 · 2 comments
Open

Bug visual with the arrows. #10

FreeCoder22 opened this issue Apr 12, 2018 · 2 comments

Comments

@FreeCoder22
Copy link

FreeCoder22 commented Apr 12, 2018

hello,
Thanks for shared project.
I have one bug visual with the arrows.
I have fixed the bug by changing the value justifyContent : center in the constant layoutArrow

Before
const layoutArrow = function (imageHeight, iconHeight) { return { position: 'absolute', backgroundColor: 'transparent', justifyContent: 'flex-start', alignItems: 'flex-start', top: (imageHeight-iconHeight)/2, bottom: (imageHeight-iconHeight)/2, }; }

After
const layoutArrow = function (imageHeight, iconHeight) { return { position: 'absolute', backgroundColor: 'transparent', justifyContent: center', alignItems: 'flex-start', top: (imageHeight-iconHeight)/2, bottom: (imageHeight-iconHeight)/2, }; }

@lufinkey
Copy link

I have this bug too. Here is a screenshot of what the issue looks like:
screenshot_20180529-143802

@mubashiralisiddiqui
Copy link

mubashiralisiddiqui commented Jul 28, 2018

you can use another icon to fix this
arrowLeft={someicon or compnent}
arrowRight={someIcon or component}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants