青烟袅袅

Results 13 comments of 青烟袅袅

The version is : ngx-infinite-viewer ^0.14.3 What should I do to avoid this behavior???

![image](https://user-images.githubusercontent.com/16682430/186794705-e1819d3c-bc65-42a1-b4f0-c29d0ef322e0.png) infiniteDragStart(e) { console.log('infiniteDragStart'); const target = e.inputEvent.target; } infiniteDragEnd(e) { console.log('infiniteDragStart'); if (!e.isDrag) { this.selecto.clickTarget(e.inputEvent); } } infiniteAbortPinch(e) { console.log('infiniteAbortPinch'); this.selecto.triggerDragStart(e.inputEvent); } infiniteDrag(e) { console.log('infiniteDrag'); } // 画布滚轮变化,标尺跟着变动 infiniteScroll(e)...

![image](https://user-images.githubusercontent.com/16682430/187389522-89dfec95-0feb-4666-b006-82be4b39708c.png)

Thank you very much !!! here is the demo. https://stackblitz.com/edit/angular-ivy-yjtzrx?file=src/app/app.component.html.

and another question. How do I reset the Infinite Viewer when the width and height of an internal box change dynamically? ![image](https://user-images.githubusercontent.com/16682430/187398720-7b7c0b9d-7d7a-42d8-bc64-2745aaba88fa.png) as the picture , the box is 19200px,but...

![image](https://user-images.githubusercontent.com/16682430/187570722-918c411d-98ed-454a-9e5a-149e5a001a87.png) ![image](https://user-images.githubusercontent.com/16682430/187571379-cf95fbb7-c0c0-4c79-af66-da3f3af82725.png) I upgraded the ngx-infinite-viewer version 015.0, try to use the `useResizeObserver` and resize method. but it's not resolve my question. The scroll bar is still in the 0-1920...

Here's a GIF of the first problem figure ![1](https://user-images.githubusercontent.com/16682430/188356282-e1bad06b-5283-4d18-b17a-c413947e26a9.gif)

Thank you, this problem is solved by using `preventClickEventOnDragStart `properties.

``` ``` ``` this.eds.screenSize_handler.subscribe((res) => { this.viewport_Width = res.width; this.viewport_Hight = res.height; this.horizontalGuides.resize(); this.verticalGuides.resize(); this.InfiniteViewer.resize(); }); ``` The NGx-infinite Viewer has a box inside it, and I dynamically control its...