0.0.8 • Published 6 years ago

react-escape v0.0.8

Weekly downloads
161
License
MIT
Repository
github
Last release
6 years ago

react-escape

An element which renders its children into a separate DOM node automatically appended to the end of the document body. This allows a mechanism to escape the current tree into a separate layer. This is useful for things like popups, popouts, custom tooltips, etc. (Also see react-float-affixed which uses this module)

var Escape = require('react-escape')
    <Escape to="viewport" style={{backgroundColor:'rgba(255,255,255,0.8)'}}>
        <div>I am outside the rest of the DOM tree</div>
    </Escape>

You can escape to either the "viewport" which will attach it's children using "fixed" or escape to the "document" which will position with "absolute".

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4-e

8 years ago

0.0.4-d

8 years ago

0.0.4-c

8 years ago

0.0.4-b

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago