Commit Graph

11 Commits

Author SHA1 Message Date
Andrzej Bakun
5afafa35c3 fix(module: slider): drag, select, focus and rapid reposition fix (#903)
* fix(module:slider): drag lag and reposition fix

remove unnecessary check from OnMouseMove
change position calculation - remove handle size

* fix(module:slider): text select issue while slider drag fix

* fix: remove the style

* clean value

* fix(module:slider): text select while slider drag fix

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-21 17:31:59 +08:00
Andrzej Bakun
74b32ed249 fix(module: slider): edge lock, range initial values, both range value change (#866)
* fix:(module: slider): changed to lock to clicked edge

add new OnMouseDownEdge event handler to razor and base class to detect which edge was clicked
add new helper method IsMoveInEdgeBoundary and helper variables
add IsMoveInEdgeBoundary evaluation to OnMouseMove and OnMouseUp event handlers to detec if
value update needs to run

feature: added click-able edges to support forcing of left/right scenarios

* fix:(module:slider): Range property replaced with nullable backing field.

Evaluation of Range is happening in getter (only first time).
Removed evaluation of Range from OnInitialized().

* fix:(module:slider): Reset _leftValue & _rightValue when both change.

Fixes the prolem when both lef&right values are changing significantly compared to original values.

* fix:(module:slider): single edge slider was broken after previous commits

changed IsMoveInEdgeBoundary method to handle null event arguments
added OnMouseDownEdge event to single edged slider

* fix(module:slider): change Value evaluation to handle reversed order

value property is overridden to ensure the delivered tuple is in ascending order
fixes #867

* fix(module:slider): change evaluation of left and right values

fixes #865

* fix(module:slider) reverse parameter is refreshing styles on change

fixes #
2020-12-10 22:30:31 +08:00
Brian Ding
62c84aa84f fix(module: slider): cannot slide (#653)
* feat: deserialize event listner args

* fix(module: slider): update ts method

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-28 16:44:11 +08:00
James Yeung
d81f9a583f fix: the prerendering interop exception with some components (#636) 2020-09-21 17:20:19 +08:00
James Yeung
360fe0d3c0 fix(hosting): server prerendering issue (#583)
* refactor: rename JSInterop constants

* docs: fix typo

* fix: server prerendering issue
2020-09-09 00:52:14 +08:00
James Yeung
58504bba1b refactor(formatter): merge the special method of timespan into formatter (#575)
* refactor(formatter): merge the special method of timespan into formatter

* test: add test for formatte
2020-09-06 15:31:40 +08:00
Brian Ding
fa60c9c8bf fix(module: slider): not working under wasm (#415)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-23 15:49:23 +08:00
Brian Ding
1fa3652d26 feat(module: slider): implement two-way binding (#329)
* feat(module: slider): implement two-way binding

* feat(module: slider): remove mouseup handler

* feat(module: slider): inherits from AntInputComponentBase

* fix(module: slider): onclick will be fired with onmouseup

* feat(module: slider): move convert method to public extensions

* feat(module: slider): update to fit form component

* fix(module: slider): two-way binding does not notify value change

* feat(module: slider): update input demo with two-way binding

* feat(module: slider): remove OnProertyChanged
2020-07-15 20:02:39 +08:00
Brian Ding
b9e719db04 fix(module: slider): event OnAfterChange fires incorrectly (#303) 2020-07-07 22:30:58 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
Henry.zhang
826df9d055 feat: new demo for switch, radio, slider and inputnumber (#155)
* feat: new demo for switch, radio, slider and inputnumber

* fix: remove some blank in demo doc api section

* fix: format the code in demo

* fix: checkbox and switch

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-28 16:56:52 +08:00