Skip to content

transfer DOM #2130

Closed
Closed
@rhyzx

Description

@rhyzx

We may need DOM place in some other location in some situations, eg: place <modal> in root element(body).

position: fixed is not a perfect solution, when inside parent with z-index, it may be overlap by other elements: http://stackoverflow.com/a/16756277

I made some experiments and it seems impossible to achieve this by custom directive, so i made some modifications in source code and it works as expected:
http://jsfiddle.net/rhyzx/s3L0emxy/

commit is here: rhyzx@8430843

How do you think about this feature? @yyx990803

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions