angular-split-pane icon indicating copy to clipboard operation
angular-split-pane copied to clipboard

Odd Behavior Depending on Content

Open a-espitia opened this issue 7 years ago • 3 comments

I lose the ability to move the pane splitter if the content of one of the divs is an iframe with a website. If you try to resize, it's as if the website takes the focus of the mouse and loses the splitter.

a-espitia avatar Mar 29 '17 21:03 a-espitia

Same thing happens here. If your mouse moves off the splitter while dragging then it's like iframe takes priority over mouse position

HarlesPilter avatar Nov 16 '17 16:11 HarlesPilter

Sounds like an interesting problem. Anyone willing to submit a pull request until I have time to look into it?

I stopped doing iframes myself a long time ago ;-)

shagstrom avatar Nov 16 '17 16:11 shagstrom

I was able to resolve this by following the steps here:

For some reason the line 100 in split.pane.js $(document).on('touchmove mousemove', moveEventHandler); was not firing when mouse was over an iframe

HarlesPilter avatar Nov 16 '17 21:11 HarlesPilter