Ionic v1 actionsheet css is different on release build?


#1

Some of our customers noted strange behaviour running our Ionic v1 app on a samsung s4 mini.
The actionsheet would not display the items. This only occurred in the release build. And only on these old android phones.

So I compared the runtime CSS of a release and a debug build together and found that there was a change in
one of the (runtime) css properties of the action-sheet-wrapper element. Any clue ionic team? This change was the source of the bug.

debug
-webkit-transform : matrix(1, 0, 0, 1, 0, 0)

release
-webkit-transform : matrix(1, 0, 0, 1, 0, 391)


#2

What are the exact commands to produce these “debug” and “release” builds?


#3

ionic build android

ionic build android --release


#4

Interesting. Can you show more of the CSS, class, ID etc? Right now this is missing context.


#5

I got the change in runtime css by calling window.getComputedStyle() on the element with action-sheet-wrapper classname by comparing the runtime css in debug and release I found the difference on this property.