awesomenkj / ts-mxgraph

A Tiny CommonJS Wrapper for mxGraph
Apache License 2.0
6 stars 9 forks source link

Rubberband box not shown in prod #2

Open FredBesterwitch opened 4 years ago

FredBesterwitch commented 4 years ago

Hi, Thank you so much for your bindings to be used in NG. It makes our lives so much easier. ng serve no issues, this happens only in prod, when i build using ng build --prod Everything works well, except the rubberband doesn't show the blue box when we drag the mouse to select multiple objects on the canvas. The objects still get selected though. Am I missing something? Thanks In Advance for your help.

tbouffard commented 3 years ago

@FredBesterwitch I also had this issue in the past. This occurs when there is no css style available for the rubberband. You need a div.mxRubberband definition available. See this example: