UNPKG

4.23 kBMarkdownView Raw
1# Changelog
2
3## 8.5.1
4
5`2021-01-07`
6
7- improve: ScrollLocker call related. [#227](https://github.com/react-component/dialog/pull/227)
8
9## 8.5.0
10
11`2021-01-04`
12
13- refactor: use ScrollLocker. [#220](https://github.com/react-component/dialog/pull/220)
14
15## 8.4.6
16
17`2020-12-19`
18
19- fix: trigger close only when click wrap itself. [#218](https://github.com/react-component/dialog/pull/218)
20
21## 8.4.5
22
23`2020-12-07`
24
25- fix: Dialog should keep refresh when forceRender provided. [#217](https://github.com/react-component/dialog/pull/217)
26
27## 8.4.4
28
29`2020-12-03`
30
31- fix: dialog dont close when mouseDown in content and mouseUp in wrapper. [#210](https://github.com/react-component/dialog/pull/210)
32
33- chore: Should not re-render when dialog is invisible. [#212](https://github.com/react-component/dialog/pull/212)
34
35
36## 8.4.3
37
38`2020-10-21`
39
40- chore: support react 17. [#207](https://github.com/react-component/dialog/pull/207)
41
42## 8.4.2
43
44`2020-10-14`
45
46- fix: Dialog should not auto destroy. [#206](https://github.com/react-component/dialog/pull/206)
47
48## 8.4.1
49
50`2020-10-11`
51
52- fix: Portal event bubble. [#204](https://github.com/react-component/dialog/pull/204)
53
54## 8.4.0
55
56`2020-09-29`
57
58- refactor: Use `rc-motion`. [#203](https://github.com/react-component/dialog/pull/203)
59
60## 8.3.4 (8.2.2, 8.1.2) / 2020-09-04
61- fix: prevent scroll behavior when focus trigger. [ant-design/ant-design#26582](https://github.com/ant-design/ant-design/issues/26582)
62
63## 8.3.3 / 2020-09-02
64- fix: page scroll position will jump after dialog is closed. [#202](https://github.com/react-component/dialog/pull/202)
65
66## 8.3.2 / 2020-09-02
67- fix: remove typing from package.json. [#201](https://github.com/react-component/dialog/pull/201)
68
69## 8.3.1 / 2020-09-02
70- fix: add displayName. [#200](https://github.com/react-component/dialog/pull/200)
71
72## 8.3.0 / 2020-08-31
73- fate: add `modalRender`. [#195](https://github.com/react-component/dialog/pull/195)
74
75## 8.2.0 / 2020-08-27
76- use `father`. [#197](https://github.com/react-component/dialog/pull/197)
77
78## 8.1.1 / 2020-08-19
79
80- Fix dialog component will only show mask, if initialize a Dialog component with both forceRender and visible are true. [#194](https://github.com/react-component/dialog/pull/194)
81
82## 8.1.0 / 2020-07-09
83
84- remove babel runtime.
85- up `rc-drawer` to `4.1.0`.
86
87## 8.0.0 / 2020-05-29
88
89- upgrade `rc-util` to `5.0.0`.
90
91## 7.7.0 / 2020-05-05
92
93- upgrade `rc-animate` to `3.0.0`.
94
95## 7.4.0 / 2019-05-10
96
97- Update accessibility.
98
99## 7.3.0 / 2018-12-06
100
101- Support `forceRender` for dialog.
102
103## 7.2.0 / 2018-07-30
104
105- Add closeIcon. [#89](*https://github.com/react-component/dialog/pull/89) [@HeskeyBaozi ](https://github.com/HeskeyBaozi)
106
107## 7.1.0 / 2017-12-28
108
109- Add destroyOnClose. [#72](https://github.com/react-component/dialog/pull/72) [@Rohanhacker](https://github.com/Rohanhacker)
110
111## 7.0.0 / 2017-11-02
112
113
114- Remove ReactNative support, please use https://github.com/react-component/m-dialog instead.
115- Support React 16.
116
117Notable change: Close animation won't trigger when dialog unmounting after React 16, see [facebook/react#10826](https://github.com/facebook/react/issues/10826)
118
119## 6.5.11 / 2017-8-21
120
121- fixed: RN modal support landscape orientation, https://github.com/react-component/dialog/pull/64
122
123## 6.5.0 / 2016-10-25
124
125- remove rc-dialog/lib/Modal's entry prop, add animationType prop
126
127## 6.4.0 / 2016-09-19
128
129- add rc-dialog/lib/Modal to support react-native
130
131## 6.2.0 / 2016-07-18
132
133- use getContainerRenderMixin from 'rc-util'
134
135## 6.0.0 / 2016-03-18
136
137- new html structure and class
138- disable window scroll when show
139
140## 5.4.0 / 2016-02-27
141
142- add maskClosable
143
144## 5.3.0 / 2015-11-23
145
146- separate close and header
147
148## 5.1.0 / 2015-10-20
149
150- only support react 0.14
151
152## 5.0.0 / 2015-08-17
153
154- refactor to clean api. remove onShow onBeforeClose
155
156## 4.5.0 / 2015-07-23
157
158use rc-animate & rc-align
159
160## 4.4.0 / 2015-07-03
161
162support esc to close
163
164## 4.2.0 / 2015-06-09
165
166add renderToBody props
167
168## 4.0.0 / 2015-04-28
169
170make dialog render to body and use [dom-align](https://github.com/yiminghe/dom-align) to align
171
172## 3.0.0 / 2015-03-17
173
174support es6 and react 0.13
175
176## 2.1.0 / 2015-03-05
177
178`new` [#3](https://github.com/react-component/dialog/issues/3) support closable requestClose onBeforeClose