I’ve been trying to use
ViewCanvas the last few days and I’m finding a number of issues that I would assume are bugs.
Bug 1: The
Height options seem to be swapped. When I toggle the
useDefaultViewWidth, it changes the height and when I toggle the
useDefaultViewHeight, it changes the width.
Bug 2: When I try to put a percentage in for the width or height, it doesn’t work. It just shrinks it down to it’s smallest possible size fitting it’s content.
Bug 3: I’m guessing this is related to bug 2, but when I try to use the style
minWidth, I’m getting the same problem. If I say
minWidth: 500, it works as expected, but with
minWidth: 50%, it breaks. This is true with the styles for the individual instances and the