Skip to content

Releases: tajo/react-portal

Bug Fixes

17 Dec 10:38
Compare
Choose a tag to compare

Fallback for React 15 added

07 Dec 06:22
Compare
Choose a tag to compare

v4.0.0 was a complete rewrite that utilizes React v16 Portal API. However, we dropped support for older Reacts. That can be a problem for library authors that still want to support older Reacts.

So, version v4.1.0. adds a fallback in case that Portal API doesn't exist. Now you can use the same react-portal with React v16 and v15.

Support for React 15.5

25 Apr 04:19
Compare
Choose a tag to compare

It removes React.PropTypes and uses prop-types lib instead.

Fixes compatibility with React 15.4

16 Nov 23:13
Compare
Choose a tag to compare

#105

  • It doesn't rely on internal modules or React, so future React versions should not break this module again.
  • It removes shallowCompare() since it doesn't really do anything
  • It removes support to style (inline styles and className) the main react-portal div. Use a wrapper div (or other element) instead. This is a braking change if you rely on this functionality; thus, major release.

openByClickOn element is not wrapped by div

02 Feb 15:39
Compare
Choose a tag to compare

openByClickOn element is not wrapped by unnecessary div element anymore

  • cleaner markup
  • className openByClickOn removed
  • this is good if this element is something like button that should be inlined
  • this is a BC change; thus, major release

For more info: #40