bjgrosse / react-resize-panel

Simple React resize panel component
MIT License
139 stars 55 forks source link

handler position when direction='e' #13

Open nkm96 opened 3 years ago

nkm96 commented 3 years ago

Hi. When I run the demo, left handle is in wrong position:

Capture

I tried to fix this by code, but I could not. It seems cannot catch this code: // Insert the handle at the beginning of the content if our direction is west or north if (direction === "w" || direction === "n") { content.unshift(handle); } else { content.push(handle); }

Do you have any Idea? Thanks for your clean package.