-
-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(module:rangePicker): ShowTime issues addressed #1788
fix(module:rangePicker): ShowTime issues addressed #1788
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1788 +/- ##
===========================================
+ Coverage 0.00% 23.51% +23.51%
===========================================
Files 478 495 +17
Lines 31072 23187 -7885
Branches 0 121 +121
===========================================
+ Hits 0 5452 +5452
+ Misses 31072 17732 -13340
- Partials 0 3 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
RangePicker: not revert to valid value after input an invalid value in the first textbox #1677 still exists. To reproduce this issue, you should press "enter" after input.
-
In react antD, the cursor is moved to the prev/next input after clicking "Ok" only one time, then the dropdown is closed. The logic of this PR is different. The cursor is moved to the prev/next input every time "Ok" is clicked unless the picker value is changed(after the picker value is changed, the cursor will still move one time, then the dropdown will be closed).
3. Focus remaining still happens when not select both date values and the picker wrongly loses focus when switch to the prev/next input(exsiting issue). In the second gif, the week range picker can not lose focus, not sure the condition to reproduce.
|
|
@anddrzejb confirmed that #1677 only happens on blazor wasm, blazor server is ok. |
I really was sure I checked wasm. I will have a look once I am avaliable. |
I found out what was it. I didn't get it on mine originally, due to the fact that for ant development, I created my own playground project where I usually work on a single component. The issue here is showing only when there are more components and jsinterop is competing with blazor. The problem here is that input value was not yet passed to |
* refactor(module: table): use EnumSelect for table filter (#1777) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): fix parent checkbox state calculation (#1781) * fix(module: select): remove ValueName null check for non-datasource approach (#1785) * fix(module: select): fix null value (#1786) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: select): MaxTagCount behaves properly for non-responsive scenarios (#1776) * fix(module:select) MaxTagCount behaves property for non-responsive scenarios docs: added XML comments fixed order in English docs redid Chinese docs (missing translations) test: add scenario for MaxTagCount when non-responsive * merge with changes coming from feature branch * docs: example of MaxTagCount change Co-authored-by: James Yeung <shunjiey@hotmail.com> * refactor(interop): reorganization into classes and typescript tests (#1791) * fix(module:interop): reorganization into classes * comments clean-up * Add typescript test project * fix: sync with pull request #1765: support drag * github test action fix attempt * tests: jsinterop test mock fix * codecov added to ts tests * add generated split js to gitignore * fix: coverage github action Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): one more fix to parent checkbox state calculation (#1781) (#1794) * fix(module: modal): error when confirm TaskCompletionSource SetResult repeat (#1795) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): fix cascading table in column (#1732) * fix(module: table): fix cascading tables * Update Column.razor * Update Column,razor Co-authored-by: James Yeung <shunjiey@hotmail.com> * feat(module: tree): bring SearchExpression back (#1796) * fix(module: RangePicker): ShowTime issues addressed (#1788) * fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: overlay): fix overlay position when container element has border (#1797) * fix(module: overlay): use right positioning for bottom-right placement (#1799) * fix(module: date-picker): update resource files (#1800) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: calendar): fix header select width (#1801) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: layout): fix OnBreakpoint and OnCollapse only when they was changed (#1815) * fix(module: date-picker): fix ShowToday when ShowTime is true (#1819) Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> * doc: fix api markdown for autocomplete (#1808) * Update index.en-US.md * Update index.zh-CN.md Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): missing sorter model on first change (#1823) * fix(module: upload): basic functionality restored (#1824) * fix(module: table): use "or" filter condition for List type built-in filter (#1804) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: auto-complete): turn off the input `autocomplete` attribute (#1825) * fix(module: date-picker): remain millisecond value when change the picker value (#1829) * fix(module: input-number): `OnChange` cannot be triggered during keyboard input (#1830) * fix(module: table): missing `showTime` of built-in datetime filter (#1827) Co-authored-by: James Yeung <shunjiey@hotmail.com> * changelog 0.9.1 (#1831) Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com> Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com> Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy> Co-authored-by: zxyao <zxyao145@gmail.com> Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> Co-authored-by: heroboy <yangweiqin@gmail.com>
* fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor(module: table): use EnumSelect for table filter (#1777) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): fix parent checkbox state calculation (#1781) * fix(module: select): remove ValueName null check for non-datasource approach (#1785) * fix(module: select): fix null value (#1786) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: select): MaxTagCount behaves properly for non-responsive scenarios (#1776) * fix(module:select) MaxTagCount behaves property for non-responsive scenarios docs: added XML comments fixed order in English docs redid Chinese docs (missing translations) test: add scenario for MaxTagCount when non-responsive * merge with changes coming from feature branch * docs: example of MaxTagCount change Co-authored-by: James Yeung <shunjiey@hotmail.com> * refactor(interop): reorganization into classes and typescript tests (#1791) * fix(module:interop): reorganization into classes * comments clean-up * Add typescript test project * fix: sync with pull request #1765: support drag * github test action fix attempt * tests: jsinterop test mock fix * codecov added to ts tests * add generated split js to gitignore * fix: coverage github action Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): one more fix to parent checkbox state calculation (#1781) (#1794) * fix(module: modal): error when confirm TaskCompletionSource SetResult repeat (#1795) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): fix cascading table in column (#1732) * fix(module: table): fix cascading tables * Update Column.razor * Update Column,razor Co-authored-by: James Yeung <shunjiey@hotmail.com> * feat(module: tree): bring SearchExpression back (#1796) * fix(module: RangePicker): ShowTime issues addressed (#1788) * fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: overlay): fix overlay position when container element has border (#1797) * fix(module: overlay): use right positioning for bottom-right placement (#1799) * fix(module: date-picker): update resource files (#1800) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: calendar): fix header select width (#1801) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: layout): fix OnBreakpoint and OnCollapse only when they was changed (#1815) * fix(module: date-picker): fix ShowToday when ShowTime is true (#1819) Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> * doc: fix api markdown for autocomplete (#1808) * Update index.en-US.md * Update index.zh-CN.md Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): missing sorter model on first change (#1823) * fix(module: upload): basic functionality restored (#1824) * fix(module: table): use "or" filter condition for List type built-in filter (#1804) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: auto-complete): turn off the input `autocomplete` attribute (#1825) * fix(module: date-picker): remain millisecond value when change the picker value (#1829) * fix(module: input-number): `OnChange` cannot be triggered during keyboard input (#1830) * fix(module: table): missing `showTime` of built-in datetime filter (#1827) Co-authored-by: James Yeung <shunjiey@hotmail.com> * changelog 0.9.1 (#1831) Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com> Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com> Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy> Co-authored-by: zxyao <zxyao145@gmail.com> Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> Co-authored-by: heroboy <yangweiqin@gmail.com>
* fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor(module: table): use EnumSelect for table filter (#1777) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): fix parent checkbox state calculation (#1781) * fix(module: select): remove ValueName null check for non-datasource approach (#1785) * fix(module: select): fix null value (#1786) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: select): MaxTagCount behaves properly for non-responsive scenarios (#1776) * fix(module:select) MaxTagCount behaves property for non-responsive scenarios docs: added XML comments fixed order in English docs redid Chinese docs (missing translations) test: add scenario for MaxTagCount when non-responsive * merge with changes coming from feature branch * docs: example of MaxTagCount change Co-authored-by: James Yeung <shunjiey@hotmail.com> * refactor(interop): reorganization into classes and typescript tests (#1791) * fix(module:interop): reorganization into classes * comments clean-up * Add typescript test project * fix: sync with pull request #1765: support drag * github test action fix attempt * tests: jsinterop test mock fix * codecov added to ts tests * add generated split js to gitignore * fix: coverage github action Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): one more fix to parent checkbox state calculation (#1781) (#1794) * fix(module: modal): error when confirm TaskCompletionSource SetResult repeat (#1795) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): fix cascading table in column (#1732) * fix(module: table): fix cascading tables * Update Column.razor * Update Column,razor Co-authored-by: James Yeung <shunjiey@hotmail.com> * feat(module: tree): bring SearchExpression back (#1796) * fix(module: RangePicker): ShowTime issues addressed (#1788) * fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: overlay): fix overlay position when container element has border (#1797) * fix(module: overlay): use right positioning for bottom-right placement (#1799) * fix(module: date-picker): update resource files (#1800) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: calendar): fix header select width (#1801) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: layout): fix OnBreakpoint and OnCollapse only when they was changed (#1815) * fix(module: date-picker): fix ShowToday when ShowTime is true (#1819) Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> * doc: fix api markdown for autocomplete (#1808) * Update index.en-US.md * Update index.zh-CN.md Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): missing sorter model on first change (#1823) * fix(module: upload): basic functionality restored (#1824) * fix(module: table): use "or" filter condition for List type built-in filter (#1804) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: auto-complete): turn off the input `autocomplete` attribute (#1825) * fix(module: date-picker): remain millisecond value when change the picker value (#1829) * fix(module: input-number): `OnChange` cannot be triggered during keyboard input (#1830) * fix(module: table): missing `showTime` of built-in datetime filter (#1827) Co-authored-by: James Yeung <shunjiey@hotmail.com> * changelog 0.9.1 (#1831) Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com> Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com> Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy> Co-authored-by: zxyao <zxyao145@gmail.com> Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> Co-authored-by: heroboy <yangweiqin@gmail.com>
* fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor(module: table): use EnumSelect for table filter (#1777) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): fix parent checkbox state calculation (#1781) * fix(module: select): remove ValueName null check for non-datasource approach (#1785) * fix(module: select): fix null value (#1786) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: select): MaxTagCount behaves properly for non-responsive scenarios (#1776) * fix(module:select) MaxTagCount behaves property for non-responsive scenarios docs: added XML comments fixed order in English docs redid Chinese docs (missing translations) test: add scenario for MaxTagCount when non-responsive * merge with changes coming from feature branch * docs: example of MaxTagCount change Co-authored-by: James Yeung <shunjiey@hotmail.com> * refactor(interop): reorganization into classes and typescript tests (#1791) * fix(module:interop): reorganization into classes * comments clean-up * Add typescript test project * fix: sync with pull request #1765: support drag * github test action fix attempt * tests: jsinterop test mock fix * codecov added to ts tests * add generated split js to gitignore * fix: coverage github action Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: tree): one more fix to parent checkbox state calculation (#1781) (#1794) * fix(module: modal): error when confirm TaskCompletionSource SetResult repeat (#1795) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): fix cascading table in column (#1732) * fix(module: table): fix cascading tables * Update Column.razor * Update Column,razor Co-authored-by: James Yeung <shunjiey@hotmail.com> * feat(module: tree): bring SearchExpression back (#1796) * fix(module: RangePicker): ShowTime issues addressed (#1788) * fix(module:rangePicker): year & month skip * fix(module:rangePicker): extra space removed on 2nd picker * fix(module:rangePicker): when ShowTime, click on OK moves to other picker * fix(module:rangePicker): adjust year skip button * fix(module:rangePicker): focus issue resolution * fix(module:rangePicker): remove incorrect value from input Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: overlay): fix overlay position when container element has border (#1797) * fix(module: overlay): use right positioning for bottom-right placement (#1799) * fix(module: date-picker): update resource files (#1800) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: calendar): fix header select width (#1801) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: layout): fix OnBreakpoint and OnCollapse only when they was changed (#1815) * fix(module: date-picker): fix ShowToday when ShowTime is true (#1819) Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> * doc: fix api markdown for autocomplete (#1808) * Update index.en-US.md * Update index.zh-CN.md Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: table): missing sorter model on first change (#1823) * fix(module: upload): basic functionality restored (#1824) * fix(module: table): use "or" filter condition for List type built-in filter (#1804) Co-authored-by: James Yeung <shunjiey@hotmail.com> * fix(module: auto-complete): turn off the input `autocomplete` attribute (#1825) * fix(module: date-picker): remain millisecond value when change the picker value (#1829) * fix(module: input-number): `OnChange` cannot be triggered during keyboard input (#1830) * fix(module: table): missing `showTime` of built-in datetime filter (#1827) Co-authored-by: James Yeung <shunjiey@hotmail.com> * changelog 0.9.1 (#1831) Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com> Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com> Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy> Co-authored-by: zxyao <zxyao145@gmail.com> Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl> Co-authored-by: heroboy <yangweiqin@gmail.com>
🤔 This is a ...
🔗 Related issue link
Fixes RangePicker: when
ShowTime
is enabled, for the second picker, the month grows by 1 when clicking any button #1680💡 Background and solution
ShowTime
istrue
- the first picker was rendered as empty div and was causing this extra space. Removed rendering of the first picker div when 2nd is visible.📝 Changelog
☑️ Self Check before Merge