Skip to content

Experimental

Pre-release
Pre-release
Compare
Choose a tag to compare
@TonyGermaneri TonyGermaneri released this 06 Sep 10:35
· 377 commits to master since this release

Minor version number change means breaking changes:

  • Edit input is by default added to the body again. The different implementations as well as the different browser features supported made it impossible to work for everyone using if conditions and detection. Now a new event appendeditinput will allow implementers to control where the edit input is appended. This should accommodate all situations.

  • Mouse movement and scrolling are now attached to document instead of document.body. Apparently if you attach to document mouse movements outside of the browser window can still be listened to as long as a click is held down. I didn't know this and found it on accident while trying to implement a better scroll function. I'm not sure the internet knows about this. This is ideal for the virtual canvas scroll bar. In future versions mouse scroll capture mode will probably be deprecated as it is no longer useful. I've tested the event in FF, Safari and Chrome. I don't know if it will work in all browsers yet.

  • Calculated styles and inline styles are handled better. More specifically around the web component mode where classes can cascade onto the grid. Inline styles are now handled in a separate object that properly overrides calculated and class styles. This change could cause some unexpected but now correct behavior from existing implementations that do not explicitly define height/width.

Breaking status is based on a bunch of tests breaking and having to have grid.style.height = '100%'; grid.style.width = '100%'; added to them to have them work again. I added the two properties to all tests as inline properties on the helper factory function.