Skip to content

Conversation

@MatanBobi
Copy link

@MatanBobi MatanBobi commented Jan 17, 2019

This PR is to enable customArrowIcon when using the calendar in RTL view.
If there is a customArrowIcon it will override the other arrows (small or RTL default arrow).

Fixes #1507 and #1537.

@coveralls
Copy link

coveralls commented Jan 17, 2019

Coverage Status

Coverage increased (+0.008%) to 84.924% when pulling a189715 on MatanBobi:master into 121fc44 on airbnb:master.

@MatanBobi MatanBobi closed this Apr 10, 2020
@ljharb ljharb reopened this Apr 11, 2020
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide tests for this?

@MatanBobi
Copy link
Author

Hi @ljharb, I'll try to free up some time and add a test for this one :)

@americool
Copy link

Hey looks like this one was abandoned? It would be great if we could get going again or open a new up to date PR as it also addresses this issue.

#1537

@MatanBobi
Copy link
Author

Hi @americool, not abandoned, I'll get to it probably next week :)

@MatanBobi
Copy link
Author

@ljharb @americool
I've created #2082 so I'm closing this one, thanks! :)

@MatanBobi MatanBobi closed this Jan 21, 2021
@ljharb
Copy link
Member

ljharb commented Jan 21, 2021

Please don’t open duplicate PRs; now i have to keep both in sync.

@ljharb ljharb reopened this Jan 21, 2021
@MatanBobi
Copy link
Author

Sorry @ljharb I've closed this one just to keep the order since I've created a new branch in my fork.. The new PR contains everything from this PR.

@ljharb
Copy link
Member

ljharb commented Jan 21, 2021

I'm not sure what "keep the order" means.

@MatanBobi
Copy link
Author

I'm not sure what "keep the order" means.

I just didn't want to push from master so I've created a new pr from a different branch. Sorry for the trouble.

ljharb and others added 4 commits January 21, 2021 09:41
…abel/runtime`, `@storybook/addon-actions`, `@storybook/addon-info`, `@storybook/addon-links`, `@storybook/addon-options`, `@storybook/addons`, `@storybook/react`, `@welldone-software/why-did-you-render`, `airbnb-js-shim`, `aphrodite`, `babel-eslint`, `babel-loader`, `babel-plugin-inline-react-svg`, `babel-plugin-inline-svg`, `babel-preset-airbnb`, `clean-css`, `coveralls`, `cross-env`, `enzyme`, `enzyme-adapter-react-helper`, `eslint`, `eslint-config-airbnb`, `eslint-plugin-import`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react`, `eslint-plugin-react-hooks`, `eslint-plugin-react-with-styles`, `in-publish`, `react-with-styles-interface-aphrodite`, `rimraf`, `safe-publish-latest`, `sass-loader`, `sinon`, `sinon-sandbox`, `webpack`
@ljharb ljharb changed the title Override arrow icons if there is a customArrow in RTL [Fix] DateRangePickerInput: customArrowIcon always overrides RTL or small icon Jan 21, 2021
@ljharb ljharb merged commit 486b8ee into react-dates:master Jan 21, 2021
@amitmiran137

This comment has been minimized.

@ljharb

This comment has been minimized.

@mazenemam19
Copy link

mazenemam19 commented Apr 4, 2023

I'm facing this issue again, customArrowIcon is overridden when isRTL is set to true

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

Successfully merging this pull request may close these issues.

Can't change input arrow icon when in RTL view

6 participants