height.indexOf is not a function bug

Begonnen von malc_b, 23 Februar 2017, 17:22:59

Vorheriges Thema - Nächstes Thema

malc_b

Sorry for being in english

After latest tabletui update I get the following bug in console

    height.indexOf is not a function in widget_popup.js:166:33  (1st of many)

This looks to be something to do with allow % as well px.

UPDATE:

There is an additional bug in popup.  I have 3 switch button as group in a popup.  This has stopped working in the popup but the same code copied to outside the popup works ok.  Sometimes the buttons are clickable, that is a toast message is seen, but they seem to stop working after a click or two.  Most times the popup opens and the buttons fail to respond to clicks.


malc_b

I've found the issue.  I had a popup where I had missed the px off the size.  Before it seemed happy with that.  I still have the problem with switch buttons not working in popup though

setstate

but thanks for report that. I'll catch such constellations

malc_b

I'm a bit further on with why my switch buttons do not work in the popup.  I've tracked down that the faElem.on(releaseEventType.... line 425 in fa-multi-button.js is not being triggered, but I don't know why.  That is triggered for working buttons.  In the layout of my popup I have 3 columns so I've used 2 x  float: right to get this.  If I take out the float right the layout goes wrong but now the buttons (those still visible) work.  For some reason float right stops the triggering or stops the event being assigned.