Changelog
Luke Longley edited this page Jan 26, 2019
·
22 revisions
- Fixed an issue causing us to get stuck in the pointer-down state.
- Fixed a null-ref exception.
- Fixed a faulty PointerCancel event registration.
- Added "print" and "share" icons.
- Fixed an issue where string concatenation was occurring instead of numeric addition.
- getRelativeLeft() now properly uses offsetParent instead of parentNode in its implementation.
- AppBar no longer moves to the incorrect position when switching between software keyboards.
- Flyout no longer tries to read _currentPosition before initialization.
- FlipView now properly centers its content after touch manipulation - previously, users sometimes could not scroll all the way from the last item to the first item with a sufficient number of items.
- ListView no longer crashes the app when you refresh a page containing a ListView.
- Adding a new PivotItem to a Pivot with zero items no longer attempts to operate on a null header.
- SplitView no longer moves over the top toolbar on an open pane.
- Tooltips now work properly in CommandingSurface and Menu.
- Users no longer have to press A and B twice to reveal and dismiss the software keyboard.
- WinJS controls that need to be re-laid out when their root element changes size, can now do so automatically in all supported browsers instead of just IE and Edge.
- ListView now automatically responds to its element being resized in all supported browsers. Not just IE and Edge
- FlipView now automatically responds to its element being resized in all supported browsers. Not just IE and Edge
- Pivot now automatically responds to its element being resized in all supported browsers. Not just IE and Edge
- Semantic Zoom now automatically responds to its element being resized in all supported browsers. Not just IE and Edge
- ViewBox now automatically responds to its element being resized in all supported browsers. Not just IE and Edge.
- ViewBox now only responds to size changes to its element. If any changes are made to the ViewBox internal elements via DOM operations, and should cause the ViewBox to re-layout any part of itself, developers will have to call ViewBox.forceLayout() to trigger the re-layout manually.
- Hub now automatically responds to its element being resized in all supported browsers. Not just IE and Edge.
- forceLayout API added to Hub, use to manually trigger re-layouts.
- Hub now only responds to size changes to its element. If any changes are made to the Hub internal elements directly via DOM operations, and should cause the Hub to re-layout any part of itself, developers will have to call Hub.forceLayout() to trigger the re-layout manually.
- Added
getNavManager
helper to avoid errors when running in Windows 8 compat mode (#1479)
- Intrinsic controls are more accessible in high contrast mode
- AppBar/ToolBar are more accessible to narrator users
- Menu is more accessible to narrator users
- Pivot is more accessible in high contrast mode
- ToggleSwitch is more accessible in high contrast mode
- We now build tv.js and ui-light-tv.css and ui-dark-tv.css, respectively. This file currently only contains the ScrollViewer control which is a scrolling container control, optimized for gamepad input modality.
- Fixed the detection logic for CommonJS (#1354)
- Fixed a crash when loading WinJS in a WebView (#1324)
- Fixed an issue where narrator would excessively announce MenuCommands (#1381, #1400)
- Disabled ListView/ItemContainer pressed animations as the animations have been causing issues with invocation/selection near the edge of the control (#1319)
- PivotItems measurements are now more accurate (#1356)
- Fixed an issue where the header focus visual would not display (#1383)
- Fixed an issue where using arrow keys to change the ratings would not work (#1365)
- Fixed an issue with tabbing through and closing the SplitView (#1367)
- IFrames with just a focusable body are now focusable with XYFocus (#1339)
- Fixes an issue where preventDefault would not stop XYFocus from executing (#1378)
- Deprecated the
NavBar
,NavBarContainer
andNavBarCommand
controls (02266ee)
- Fixed: Elements may be rendered on top of a closed
AppBar
(7fecf50, #1203) - Fixed: Focuses wrong command when programmatically opened (46f7228, #1300)
- Fixed: Improve logic for displaying the overflow button (7cb5776, #982, #1170, #1340)
- Fixed: Tabbing should not move focus out of opened
AppBar
(2619e6f, #1073) - Fixed: Toggling
hidden
property onCommands
now properly animates (7b2da7a, #1055)
- Fixed: Improve response to the InputPane (5a1dc55, #1149, #910)
- Fixed: Make the
title
a header (cf7098f, #1176)
- Fixed:
Hub
doesn't leave room for the app title (288cffc, #1224) - Fixed: Mousewheel scrolling issue on Chrome (ca91896, #1273)
- Fixed: Header animation goes the wrong direction (63f6140, #1264)
- Fixed:
selectionchanged
event fired before theselectionIndex
is updated (8973734, #1317) - Fixed: Touch not being able to interact with custom headers (549b60f, #1263)
- Fixed: Add public
invoked
event toSplitViewCommand
(6f9f4f2) - Fixed: Make
SplitViewCommand
work great when put inside aSplitView
pane (05b83d9, #1258) - Fixed:
SplitViewCommand
has the wrong background color (32fc70e, #1309)
- Fixed: Add a spacer element to the end of the overflow area to create 24px of space after the last menu command in
AppBar
andToolBar
(26bee7a) - Fixed: Disabled submit buttons color (dda39e6, #1304)
- Fixed: Update
SplitView
for high contrast (9f942f0) - Fixed: Update
SplitViewPaneToggle
for high contrast (cdc550a)
- Fixed: Focuses wrong command when programmatically opened (46f7228, #1300)
- Fixed: Improve logic for displaying the overflow button (7cb5776, #916, #982, #1170, #1210, #1340)
- Fixed: Tabbing should not move focus out of opened
ToolBar
(2619e6f, #1073) - Fixed: Toggling
hidden
property onCommands
now properly animates (7b2da7a, #1055)
- Fixed: Exception when using
XYFocus
with no active elements (2bc9a40, #1311) - Fixed: Exception thrown when an
iframe
is removed from the DOM before theXYFocus
registration message is handled (0d4f090, #1312) - Fixed: Input elements are automatically treated as toggle mode enabled (ddf9627)
- Fixed: Un-registering disposed
iframes
(702e625, #1291) - Implemented a toggle mode (52a7b49)
- Fixed: Fails to overflow when
closedDisplayMode === "none"
(4000e32, #1183) - Fixed: Initializing with
closedDisplayMode: minimal
will layout commands incorrectly (4000e32, #1220)
- Disabled animations when
ListView
orItemContainer
are in selection mode (61d854d)
- Added
showAt
API (d6a622a)
- Implemented new animations (1ed0d4a)
- Fixed: WinJS crashes when loaded in a
display: none
iframe on Firefox by defaulting to ui-light.css (a045428, #1253) - Updated
AppBar
for high contrast (189d656) - Updated
ContentDialog
for high contrast (e9cf1c6) - Updated range control styling (a88502d)
- Updated
ToggleSwitch
styles (60522c1) - Updated
ToolBar
for high contrast (189d656)
- Added the
AutoSuggestBox
control - Added the
ContentDialog
control - Added
Pivot
custom header areas - Added the
SplitView
control - Added the
ToolBar
control - Added the
XYFocus
utility - Added the ability to zebra stripe
ListView
items - Added granular
ListView
virtualization options - Added the
SplitViewPaneToggle
control - Added a new
ListView
selection model
- (from 4.0-Preview) WinJS.js has been split back into base.js and ui.js
- Styling of intrinsic elements is no longer by default
- The
WinJS.Utilities.isPhone
property will return undefined
- Removed the
disabled
property - Removed the
hideCommands
method - Removed the
layout
property - Removed the
showCommands
method - Removed the
sticky
property. Set theclosedDisplayMode
property tocompact
orfull
to replicate similar behavior. - Removed the
.win-commandlayout
CSS class - Renamed the
commands
property todata
- Renamed the
hidden
property toopened
- Renamed the
hide
method toclose
- Renamed the
onafterhide
event toonafterclose
- Renamed the
onaftershow
event toonafteropen
- Renamed the
onbeforehide
event toonbeforeclose
- Renamed the
onbeforeshow
event toonbeforeopen
- Renamed the
show
method toopen
- Renamed the
.win-appbar-hidden
CSS class to.win-appbar-closed
- Removed the
disabled
property - Removed the
layout
property - Removed the
sticky
property - Renamed the
onafterhide
event toonafterclose
- Renamed the
onaftershow
event toonafteropen
- Renamed the
onbeforehide
event toonbeforeclose
- Renamed the
onbeforeshow
event toonbeforeopen
- Renamed the
hide
method toclose
- Renamed the
show
method toopen
- Renamed the
hidden
property toopened
- (from 4.0-Preview) Renamed the
HiddenDisplayMode
enum toClosedDisplayMode
- (from 4.0-Preview) Renamed the
hiddenDisplayMode
property toclosedDisplayMode
- (from 4.0-Preview) Renamed the
hidePane
method toclosePane
- (from 4.0-Preview) Renamed the
onafterhide
event toonafterclose
- (from 4.0-Preview) Renamed the
onaftershow
event toonafteropen
- (from 4.0-Preview) Renamed the
onbeforehide
event toonbeforeclose
- (from 4.0-Preview) Renamed the
onbeforeshow
event toonbeforeopen
- (from 4.0-Preview) Renamed the
paneHidden
property topaneOpened
- (from 4.0-Preview) Renamed the
ShownDisplayMode
enum toOpenedDisplayMode
- (from 4.0-Preview) Renamed the
shownDisplayMode
property toopenedDisplayMode
- (from 4.0-Preview) Renamed the
showPane
method toopenPane
- (from 4.0-Preview) Renamed the
.win-splitview-pane-shown
CSS class to.win-splitview-pane-opened
- (from 4.0-Preview) Renamed the
.win-splitview-pane-hidden
CSS class to.win-splitview-pane-closed
- Renamed the
.win-type-xx-large
class to.win-type-header
or.win-h1
- Renamed the
.win-type-x-large
class to.win-type-subheader
or.win-h2
- Renamed the
.win-type-large
class to.win-type-title
or.win-h3
- Renamed the
.win-type-medium
class to.win-type-subtitle
or.win-h4
- Renamed the
.win-type-small
class to.win-type-body
or.win-h6
- Renamed the
.win-type-x-small
class to.win-type-base
or.win-h5
- Renamed the
.win-type-xx-small
class to.win-type-caption
XYFocus is now enabled by default
- (from 4.0-Preview) Removed the
enableXYFocus
method - (from 4.0-Preview) Removed the
disableXYFocus
method
- Deprecated the
swipeBehavior
property ofItemContainer
andListView
- Deprecated the
SettingsFlyout
control - Deprecated the
SearchBox
control. Instead, use theAutoSuggestBox
. - Deprecated the values
global
andselection
from thesection
property inAppBarCommand
- Added the values
NavigationView
,NavigationMenu
,NavigationUp
,NavigationDown
,NavigationLeft
,NavigationRight
,NavigationAccept
,NavigationCancel
,GamepadA
,GamepadB
,GamepadX
,GamepadY
,GamepadRightShoulder
,GamepadLeftShoulder
,GamepadLeftTrigger
,GamepadRightTrigger
,GamepadDPadUp
,GamepadDPadDown
,GamepadDPadLeft
,GamepadDPadRight
,GamepadMenu
,GamepadView
,GamepadLeftThumbstick
,GamepadRightThumbstick
,GamepadLeftThumbStickUp
,GamepadLeftThumbstickDown
,GamepadLeftThumbstickRight
,GamepadLeftThumbstickLeft
,GamepadRightThumbstickUp
,GamepadRightThumbstickDown
,GamepadRightThumbstickRight
,GamepadRightThumbstickLeft
to theKey
enum
- Added the
ICommand
interface - Added the
ClosedDisplayMode
enum - Added the
Placement
enum - Added the
forceLayout
method - Added the
closedDisplayMode
property
- Added the
priority
property - Added the values
primary
andsecondary
to thesection
property
- Added the values
item
,header
, andfooter
to theObjectType
enum - Added the
footer
property - Added the
header
property - Added the
maxLeadingPages
property - Added the
maxTrailingPages
property
- Added the
customLeftHeader
property - Added the
customRightHeader
property
- Added the
.win-splitviewpanetoggle
class
- Added the
.win-type-body
class - Added the
.win-link
class - Added the
.win-code
class - Added the
.win-ellipsis
class - Added the
.win-button
class - Added the
.win-button-primary
class - Added the
.win-button-file
class - Added the
.win-textbox
class - Added the
.win-textarea
class - Added the
.win-dropdown
class - Added the
.win-checkbox
class - Added the
.win-radio
class - Added the
.win-progress-bar
class - Added the
.win-progress-ring
class - Added the
.win-slider
class - Added the
.win-vertical
class
- Added the
.win-xbox
class