- Use
InputDeviceCapabilities.firesTouchEvents
to detect mouse events from touch events InputDeviceCapabilities.pointerMovementScrolls
- http://wicg.github.io/InputDeviceCapabilities/#dom-inputdevicecapabilities-pointermovementscrolls
- Let's say you have a carousel that you would swipe with a finger, but could select text with a mouse (and then use buttons to navigate). Instead of using
pointerType
to detect that and limiting it totouch
andmouse
, you could check if the pointer would normally cause scrolling.
- Adding direction-specific
touch-action
values:up
,down
,left
,right
- https://github.com/w3c/pointerevents/issues/6
- Edge has agreed to add them, but it will take them about a year.
- Changing pointer capture from a modification of event targeting to a modification of hit testing
- Chrome team will create a branch of the spec that changes the behavior
- Would like to see implicit capture for all pointer types, but there is concern from others that implicit capture for mouse will break the web
- https://github.com/w3c/pointerevents/issues/125
- Created a Chrome extension to mimic implicit capture
- Adding events around
:active
style- https://github.com/w3c/pointerevents/issues/124
- So you can programmatically detect if a button would still be clicked if you released the pointer, based on how much movement has occurred since pressing down
gotpointercapture
will now always be delayed until the next pointermove.gotpointercapture
andlostpointercapture
will always copy their properties from the event that caused them to be fired.- New method:
hasPointerCapture()
Author Archives: builder
jQuery UI Team Meeting – Aug 03 2016
- Ticket triage
- 434 tickets total, +5
- 18 pull requests, +2
- Download Builder
- All recent issues have been fixed
- npm/browserify/webpack
- works differently than before (intentionally)
- https://github.com/jquery/jqueryui.com/issues/150
- Jörn documented the upgrade path
- https://github.com/jquery/jqueryui.com/commit/b083b13fd8f6377909813ae2d6c7de1476225ade
- Checkboxradio
- Radio checkmarks are only visible on hover
- https://bugs.jqueryui.com/ticket/15003
- Alex fixed this
- https://github.com/jquery/jquery-ui/pull/1725
- Tabs
- Hidden tabs can be navigated to via keyboard
- https://bugs.jqueryui.com/ticket/15013
- Scott sent a PR to detect hidden tabs during navigation and skip them
- https://github.com/jquery/jquery-ui/pull/1724
- Decided to implement this as part of
refresh()
and auto-disable hidden tabs
- Resizable
- Support for flexbox
- https://bugs.jqueryui.com/ticket/14997
- Bad test case; flexbox works just fine when the CSS isn't fighting against the widget
jQuery Core Team Meeting – Aug 01 2016
Attending: timmywil, markelog, DaveMethvin, gibson042, m_gol
link 3.1.1
- https://github.com/jquery/sizzle/pull/384 :enabled/:disabled
- Dave working on https://github.com/jquery/jquery/issues/3226 (not(arraylike)) and https://github.com/jquery/jquery/issues/3229 (ajax cache)
- https://github.com/jquery/jquery/issues/3251 ($.fn.append may fail in Microsoft Edge)
link Issues needing review
- https://github.com/jquery/jquery/issues/3238 animate with radius/FF
- Do we allow animating properties?
link PRs
- https://github.com/jquery/jquery/pull/3247 gruntfile/eslint
- Just wrap in runIfNewNode
link Wontfix wiki page
- Looks good
- Dave to add pointer from old page
link Migrate
- Approach for deprecated APIs in 3.2? Just warn and let them pass through, or warn and fill (and run unit tests?)
- Resolved: just warn, don't fill or move/copy unit tests from core
- APIs removed in core 4.0 can be filled in migrate 4.0
link Consider using Gitter instead of IRC
- Doing next meeting in gitter: https://gitter.im/jquery/jquery/meeting
js-reporters Team Meeting – Aug 01 2016
IRC, Freenode, #jquery-meeting; attending: Jörn Zaefferer (project lead, GSoC mentor), Florentin Simion (GSoC student, working on js-reporters)
Last week:
This week:
js-reporters Team Meeting – Jul 25 2016
12:00 UTC (noon), IRC, Freenode, #jquery-meeting; attending: Jörn Zaefferer (project lead, GSoC mentor), Florentin Simion (GSoC student, working on js-reporters)
Last week:
- browserstack-runner PR got merged!
- Christoph Hiller (@boneskull) is contributing! Interested in integrating js-reporters in Mocha. Already helped review/design assertions properties.
- Implemented fullName prop, array with suite and test names, empty array for global suite
This week:
jQuery Core Team Meeting – Jul 25 2016
Attending: timmywil, m_gol, DaveMethvin, jbedard
link 3.1.1
- https://github.com/jquery/jquery/issues?q=is%3Aopen+is%3Aissue+milestone%3A3.1.1
- Gibson to have a patch for #3224 this week
- https://github.com/jquery/jquery/issues/3226 needs assignment
link Run tests on a slim, selector-native, ready-no-deferred builds
- Set up periodic jobs for these builds
- Build commands: slim is built with the default, grunt custom:-sizzle, grunt custom:-deferred
link PRs
- https://github.com/jquery/jquery/pull/1612 go bootstrap?
- Reported to GitHub
link Migrate
- https://github.com/jquery/jquery-migrate/pull/212 migrateWarnFunc
- Needs review
PEP Team Meeting – Jul 21 2016
- Pointer Events Hackathon
- Next week, so no PEP meeting
- Update the README during releases
- https://github.com/jquery/PEP/issues/249
- Scott sent a pull request
- Support CSS
touch-action
instead of custom attribute- https://github.com/jquery/PEP/issues/151
- Setting
style.touchAction
as a property is preserved in all browsers, only thestyle
attribute is sanitized by the browsers.- Even changing styles via
style.cssText
andsetAttribute(‘style’, …)
doesn’t kill custom properties on thestyle
property.
- Even changing styles via
jQuery Core Team Meeting – Jul 18 2016
Attending: timmywil, gibson042, jbedard, m_gol, DaveMethvin, markelog
link 3.1.1 > 3.2.0
- Should we wait with merging PRs targeted at 3.2.0 while we wait for 3.1.1?
- Yes, if they can’t go in 3.1.1 instead
- Mark all PRs with the appropriate milestone. Do not merge PRs that are not for the upcoming milestone.
link Run tests on a slim, selector-native, ready-no-deferred builds
- Set up periodic jobs for these builds
- Build commands: slim is built with the default, grunt custom:-sizzle, grunt custom:-deferred
link Deprecations, let's decide on them all
- Shorthands https://github.com/jquery/jquery/issues/3214
- jQuery.fx.interval https://github.com/jquery/jquery/issues/3154
- jQuery.fn.ready https://github.com/jquery/jquery/issues/3025
- jQuery.isArray https://github.com/jquery/jquery/issues/2961
- jQuery.isNumeric https://github.com/jquery/jquery/issues/2960
- jQuery.now https://github.com/jquery/jquery/issues/2959
- jQuery.proxy https://github.com/jquery/jquery/issues/2958
- Event.which https://github.com/jquery/jquery/issues/2337
- (all approved)
link Slim & deprecated.js
- Don't remove deprecated.js from slim since it would cause breaking changes in minor versions as we deprecate things
- https://github.com/jquery/jquery/issues/3237
link PRs
- https://github.com/jquery/jquery/pull/3221 if (elem.getAttribute)
- Can we change our style now??
- Research IE9
- https://github.com/jquery/jquery/pull/3151 timestamp param of rAF
- Address gibson’s comments
- https://github.com/jquery/jquery/pull/3176 prohibit #NN style references
- LGTM
js-reporters Team Meeting – Jul 18 2016
12:00 UTC (noon), IRC, Freenode, #jquery-meeting; attending: Jörn Zaefferer (project lead, GSoC mentor), Florentin Simion (GSoC student, working on js-reporters)
Last week:
- Finished browserstack-runner PR, now sending “tracebacks” in the _progress event, needs some review/approval from BrowserStack
- Released 1.0.1, fixing compat with IE10
This week:
- Jörn trying to contact BrowserStack about the PR (Shirish doesn’t seem to work there anymore)
- Fix issues with nested suites and suite names
- Contact @boneskull
- Talk to QUnit team about js-reporters support (WIP PR).
PEP Team Meeting – Jul 14 2016
- Need to detect
mouseup
outside of window- https://github.com/jquery/PEP/issues/279
- Marius has a pull request
- Pointer Events Hackathon
- July 26-27
- Browser vendors + jQuery
- Goals:
- Identify implementation differences
- Determine if the spec needs to change for any compat issues
- Understand compat implications of removing hit testing while down
- Improve test coverage as needed
- Discussion about multi-pointer gestures and
touch-action