Skip to content

z-index issue #204

@sushilronghe99

Description

@sushilronghe99

Bug

Problem Report

When the drag handle is set on the edge of the div; the drag handle gets overlapped by the first div. It does not take into account the z-index.
Example.

<div style={{minHeight:300,width:300}}>
                <div style={{backgroundColor:"green",minHeight:150}}></div>
                <div  style={{backgroundColor:"red",minHeight:150,position:'relative'}}>
                <Resizable position={'relative'} height={height} width={width} onResize={onResize} resizeHandles={['n']} >
                    
               </Resizable>
                </div>
            </div>

In this case the drag handle icon overlapping Green color div won't be visible. Even if we add a z-Index to the higher than the green color div the drag handle is not visible.

System Info

Node Version: v.16.14.2
Browser: Chrome
OS: Mac

Reproduction

Have not setup the sandbox but let me know if it is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions