Open SandraK82 opened 4 years ago
Cool, can we convert the JSNI code to JSInterop
private static native int top(Element element) /*-{
return element.getBoundingClientRect().top;
}-*/;
Somebody for sure… I dont have any JSInterop experience at all
I think what we can do is to use elemental2 will take a look on how we can support it as GWT 3 will not support JSNI.
I tried to make an CutOut on a Widget inside a Table (inside a Collapsible) and the CutOut did not appear. After Debugging I found that the CutOut had a wrong top value -800 something pixels. I fixed it by Overriding MaterialCutOut:setupCutOutPosition with an Addition:
Now it works as expected