| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed by using pointerevents instead of touchevents when the browser is IE11,
or Edge. Also added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE11 and Edge. Does not affect IE8 to IE10 browsers,
behaviour on those will stay the same as before the fix.
No new unit tests since we do not have automatic touch testing possibilities yet.
Please test manually with Surface: IE11 and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasicsomponents.grid.basics.GridBasics
Change-Id: Iddbf1852e6ffafc855f749d6f4ebb235ed0f5703
|
|
|
|
|
|
|
|
| |
Moves FocusDelegate to AbstractFieldState.
This change is done to revert backwards compatibiity breaking API
change in 7.7.4 when CustomFieldState was introduced.
Change-Id: I76212a8700463140520d5482b740fe0edbfb082c
|
|
|
| |
Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
|
|
|
|
| |
Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4
|
|
|
|
|
|
|
| |
When dragging message form email client on Windows, item.webkitGetAsEntry()
might return null creating NPE on the client side. Added additional checks
for this situation.
Change-Id: I569f7e6d0d7b137f24be53d1fbce384695ae8c73
|
|
|
|
| |
Change-Id: Ib0cc6c6835aab6d263f153362a328bcf2be7bc5c
|
|
|
|
|
|
|
|
|
| |
It should not matter how you move from a field to the next. Tabbing
to the next field already previously caused the new item handler to
be invoked. This fixes the case when you click in the next field to
work the same way.
Change-Id: I3978d87cde8f05dce92edda2a4a116f4a15e0749
|
|
|
|
|
|
|
|
| |
The patch prevents Escalator and Grid from ever being rendered on IE8 because element.addEventListener does not exist there
This reverts commit eb2f5ac3a714aefce948d447a4004b94e35e44a9.
Change-Id: I58f6db7432a1cd10299891b2d8c55c855e87265f
|
|
|
|
| |
Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed by using mouse events instead of touchevents when the browser is
IE or Edge (added isIEOrEdge utility method in the BrowserInfo). Also
added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE and Edge
No new unit tests since we do not have automatic touch testing
possibilities yet.
Please test manually with Surface: IE and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasics
Change-Id: I5b37f1648e2051ea0ab4d56ab767186b532da07c
|
|
|
|
|
|
|
| |
Also remove ComponentMissingFromDefaultWidgetsetTest since it's
identical to UnknownComponentConnectorTest
Change-Id: I4b4b8f40c8376f4ea26b73d41191a3e7e811df01
|
|
|
|
| |
Change-Id: I99347ee1d0f2f13fcb8e110d2e7192590e4f9456
|
|
|
|
|
|
| |
This is needed to be able to get the information from e.g. TestBench
Change-Id: I95ec6064f602e6a8b24e35cc59d467e9c8b31c1e
|
|
|
|
| |
Change-Id: I1160e7a384b1816204eb7f4b0f52f83ed9e230c0
|
|
|
|
| |
Change-Id: I6b045c3a693e88b3cba182ae9ea68cfa98c914b0
|
|
|
|
| |
Change-Id: Ibb3b52b652d77a1bfa786417b1c92fd0a578035f
|
|
|
| |
Change-Id: I3cfdac539111ff2e88c7ff81e6d6b9a579160423
|
|
|
|
|
|
| |
true. (#20097)
Change-Id: Ic453aaf16ea1d44792db868e04faaba069aab3b7
|
|
|
|
|
|
|
|
|
|
| |
Chrome no longer (since version 5x) always fire deferred commands
immediately during scrolling but can delay them with several hundred
milliseconds, making grid really unresponsive.
So far, nobody has been able to provide a reliable test case.
Change-Id: Ide80aef2d661c9e27b67c8e62e85734af7a38cab
|
|
|
|
|
|
|
|
| |
Adds API to allow grid to ask its data source if it is waiting for data.
The previous tracking inside grid was not always correct as it relied
on dataAvailable being called.
Change-Id: I0bdb448d9b720155940b0834e118f0eca27a3bfc
|
|
|
|
| |
Change-Id: I2ad135c72821b6e194fd77bd141b638c36e138a7
|
|
|
|
|
|
|
| |
Using the same formatting in the 7.7 branch and the master branch
eases porting of fixes
Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
|
|
|
|
| |
Change-Id: I042a5bfb548b52911100e01e5a74901a1abfbf33
|
|
|
|
| |
Change-Id: I28f3d20e6db999a033429338535719f14e495d4f
|
|
|
|
| |
Change-Id: If7a7a5c1e5eff4bdac0f6e5943a9fac2ce98784a
|
|
|
|
|
|
|
| |
Deferring the column width calculations, like done before,
causes flickering as each column is first rendered with its
minimum required width.
Change-Id: I02e6951a99dcb0cb9ad78a95915076d064fa9642
|
|
|
|
|
|
|
|
|
| |
When the scrollbar is scrolled a bit down and the number of items
in the grid is reduced so that no scrollbar is needed anymore, it seems
that Firefox refuses to send a scroll event even though the scroll position
is updated before the scrollbar is hidden.
Change-Id: I626536a9efd036bc826b1e6be3363332a56774f6
|
|
|
|
|
|
|
|
| |
The change to not show loading indicator for JS RPC was done in
15a53d305e6648572c11cb988f4988c2c5825af1 and looks like a refactoring
error.
Change-Id: If2a2818e0c4adc06479ecaf17764bf53fc89c095
|
|
|
|
|
|
|
|
|
|
| |
If you show a column when Grid has no horizontal scrollbar, and is scrolled
all the way down, and the number of visible rows is slightly more than N then
Escalator will adjust the row count when the scrollbar is shown so that N-1
rows are visible. During this operation, the DOM must be updated for the new
column.
Change-Id: I0b6c845f96a57be1d64ef4e735aa2f77efbe589a
|
|
|
|
| |
Change-Id: Ic1cd285c697a05d186d81935f632881e4cf561bf
|
|
|
|
|
|
|
|
| |
Fixes ComboBox suggestion popup so that it will not automatically
close when clicking the popup button, if the user happened to
double click on the button earlier.
Change-Id: I60936f82133ca89c2aef0dccff68092a11deff1c
|
|
|
|
|
|
|
|
|
| |
Without this change, some browsers, like GoogleBot, don't properly render the page.
Instead of weird JS exception (and hit to server with 404) we should at least try
to render the app with all browser. As webikit/chromium based browsers are
nowadays most popular, falling back to "safari" permutation.
Change-Id: I4275110962432b2552d51715a86a8e815fe539ad
|
|
|
|
|
| |
Change-Id: Ib46a450c7d6a6d15eb6bea5d53351d182929e52f
(cherry picked from commit b322664b8b21da53e6fc833005fe3968f8352bec)
|
|
|
|
|
|
|
|
|
| |
When Grid is inside of a Tab (Tabsheet or Accordion) and
height mode is set to HeightMode.ROW, layout happens
before row height is known. To fix that, an event is fired
and a handler starts a layout after everything is calculated.
Change-Id: Idc8de795956b387ec69adf1871cb7f557914d998
|
|
|
|
|
|
|
|
|
| |
This patch fixes an issue with disappearing tabs in a TabSheet placed in a
SplitPanel.
Scrolling a tab into view needs to be done after layout has happened. Otherwise
the available width for TabSheet is unknown and causes unexpected behaviour.
Change-Id: Ibcea04ddadfafc5028efe44a6817517b16e21bde
|
|
|
|
| |
Change-Id: I2c5b617dbd0da4f352e494097a601cea922f14df
|
|
|
|
|
|
|
| |
Without the fix, when selecting a value from page n+1 and re-opening the
ComboBox popup, the content of the text box may disappear.
Change-Id: I5fb57c0e5a068645f4b11fb1c392e682dd04b06a
|
|
|
|
| |
Change-Id: I20c6e98fe84f0e42c3aa7544a85d4283e2a21537
|
|
|
|
|
|
|
| |
checks that shortcircuit method(#20031)
Change-Id: I55e240980377d7ad94c06e2bf395acd95de32542
(cherry picked from commit 04eeee3d55b253435fdb7c8e5f23ebb970099022)
|
|
|
|
|
|
|
|
| |
Folder upload is not supported by most of the browsers and can cause
StreamVariable methods not fire on some configurations.
This fix tries to detect and prevent uploading of folders.
Change-Id: Ib6357ddaeda5549065ab8ef5f682f12ad5968bce
|
|
|
|
|
|
| |
Required indicators in Grid Layout are now located right after the fields
Change-Id: I764fe15a967673c3a70a2a8ab97e7d1a223061fa
|
|
|
|
|
|
| |
This fixes an issue caused by the fix for #19658.
Change-Id: I688275b0c39af723500bc0f7d0c87799698c90e7
|
|
|
|
|
|
|
|
| |
Trackpad scroll gesture produces a large amount of wheel events causing
the same amount of flips on ComboBox. This fix tries to control page flips
in a way that it would feel more natural to use it.
Change-Id: I3ed206a5abe8c3ba8c06a5998f788468157663f1
|
|
|
|
|
|
|
| |
- new height more for undefined height that works like in Table and
resizes the grid when details row opens or closes
Change-Id: I2dc817140308093865be30de72edcd6494e4a44b
|
|
|
|
|
|
|
| |
When resizing a column in Grid, widths of all columns without
a fixed width (-1) are set to their actual width. This is 0 when
the column is hidden.
Change-Id: If50e71c748cd0674f44d9e51777518eb48b42c5c
|
|
|
|
| |
Change-Id: Id9f1dbc991c1dcb2c2d3817d9d958485db6269bc
|
|
|
|
|
|
|
|
|
| |
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Change-Id: I2178291c97c2f66840f832a0bf932271534beb49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now
has three different width modes:
1. Legacy "null"-mode: width is determined by the longest item
caption for each page. This looks & feels like the old implementation.
This is the default mode
2. Relative to the ComboBox. e.g. 100%
3. fixed width using any CSS definition
Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
|
|
|
|
| |
Change-Id: I9c35e50fd4b56c6b70a4194526cbbbe7870add6e
|
|
|
|
|
|
|
| |
The server side needs to know the client has removed the connectors to
be able to do cleanup
Change-Id: Ic3d41cc5cbab035a53bf5c99496d74858c376e73
|