Skip to content

Commit 039e433

Browse files
authored
feat: add scrollable, options, methods, events, fix bugs (#90)
* docs: update docs * fix: fix dragArea's miscaculation * docs: fix CHANGELOG * docs: add render events docs * docs: add scroll, scrollGroup events * docs: add events, custom css in handbook * docs: fix css docs in handbook * fix: fix render events * docs: add snapCenter docs * fix: add createPortal * fix: fix updateRect with setState * fix: fix click event for `dragStart` target * fix: fix that controlStart occur with dragArea * fix: update preact-moveable * fix: Update react-moveable, preact-moveable * docs: fix CHANGELOG
1 parent 1b08834 commit 039e433

File tree

22 files changed

+765
-278
lines changed

22 files changed

+765
-278
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [0.10.0] - 2019-11-09
7+
### Added
8+
* Add `scrollable` props. #39
9+
* Add `onScroll`, `onScrollGroup` event
10+
* Add `scrollContainer` props
11+
* Add `getScrollPosition` props
12+
* Add `currentTarget` and `inputEvent` on all events #74 #86
13+
* Add `setState` method #82
14+
* Add `getRect` method #71
15+
* Add `renderDirection` props #63
16+
* Add `className` props #53 #63
17+
* Add `onClick` event
18+
* Add `onRenderStart`, `onRender`, `onRenderEnd` events #52
19+
* Add `onRenderGroupStart`, `onRenderGroup`, `onRenderGroupEnd` events #52
20+
21+
### Fixed
22+
* Fix target's boundingRect matrix caculation with scroll position
23+
* Fix problem where the ratio is not maintained with keepRatio #70
24+
* Fix that `el is undefined` #73
25+
* Fix `dragArea`'s caculation
26+
* Fix that `dragStart` method is not work with group
27+
* Fix that `clickGroup` event occurs when `dragStart` a mousedown target
28+
* Fix that Moveable is deleted when a single target is changed to multiple targets
29+
630
## [0.9.8] - 2019-10-26
731
### Fixed
832
* Fix that miscaculate static parent's offset position

0 commit comments

Comments
 (0)