| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Also includes some other minor cleanup.
|
| |
|
| |
|
| |
|
|
|
| |
Fixes #9018
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Component error was cleared after selecting a date from
calendar popup, even if the date is invalid due to
validation errors or if user programmatically sets an UserError.
This change inverts the order of setValue() and setComponentError(null) in order
to preserve errors set by ValueChangeListeners (e.g. Binder validators).
Fixes #10011
|
| |
|
| |
|
|
|
| |
This change also includes some other minor cleanup.
|
|
|
|
|
|
|
|
|
| |
This adds basic support for aria-sort for Grid (https://www.w3.org/TR/wai-aria-1.1/#aria-sort).
- aria-sort is not added, if the column is not sortable
- aria-sort="none" is added, if the column is sortable but currently not sorted
- aria-sort="ascending" is added, if the column is sorted by asc
- aria-sort="descending" is added, if the column is sorted by desc
- aria-sort="other" is added, if more than 1 column is sorted, currently there is no aria-sort-order
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
This fixes a compilation error with Eclipse Oxygen.
|
|
|
|
|
|
|
| |
Under certain circumstances IE 11 (11.0.45 / 11.0.9600.18762) produces an exception when collapsing/expanding rows (particularly the first child after the very first element) in a TreeGrid within a Window.
This workaround removes the row explicitly before inserting, instead of letting JS handle it.
Fixes #9850
|
| |
|
|
|
|
|
|
|
|
| |
Fix connector tracker cleanup for the case where a component is
hidden by a request and is made visible again by push.
This fixes a regression caused by #9305.
Fixes #9905
|
|
|
|
|
|
| |
The related tests have a workaround for another (Chrome specific) GridLayout bug #9921.
Those workarounds should be removed once that issue is fixed.
Fixes #9148
|
|
|
|
|
| |
Position caption correctly when using different vertical alignment than TOP in GridLayout.
Fixes #7895
|
|
|
|
|
| |
Try to make the test more stable by using a different way of
detecting the presence of a notification. This approach is used e.g.
in GridComponentsTest.
|
|
|
|
|
|
| |
Correctly render components that handle their own captions inside
a Composite.
Fixes #9848
|
|
|
|
|
|
| |
Keep the ComboBox popup at the same position relative to the ComboBox
when the view is scrolled.
Fixes #5043
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
When child components are removed from a
VerticalLayout/HorizontalLayout, do not remove other children from the
DOM if no other hierarchy changes are made.
Fixes #7713
|
| |
|
|
|
|
|
|
| |
When child components are removed from a CssLayout, do not remove other
children from the DOM if no other hierarchy changes are made.
Fixes #7712
|
|
|
|
|
| |
Added utility constructor for Button(Icon, ClickActionListener):
new Button(VaadinIcons.AIRPLANE, e -> { ... });
|
| |
|
|
|
| |
Fixes #7341
|
|
|
| |
Fixes #9803
|
|
|
| |
Fixes #9832
|
|
|
| |
The test testReuseTextFieldOnScroll() often crashes PhantomJS 1.
|
|
|
| |
Fixes #9152
|
|
|
|
|
|
|
|
|
| |
Icon load detection code does not handle error events so broken images
will cause tests to fail forever. In other cases also, it seems very
rare to need icons to be loaded before interacting with a combo box. If
there really are use cases for this, it would be better to have a method
to query if all icons are loaded so that special tests can use this method.
Fixes https://github.com/vaadin/testbench/issues/916
|
|
|
| |
Fixes #9425
|
|
|
|
|
|
|
| |
Sometimes Chrome reports 1ms for very short times to thwart
timing attacks, and sometimes Firefox seems to report 0ms. Make
the test accept these special cases.
Add support for PhantomJS 2 which does support high res time.
|
|
|
|
|
|
|
|
|
|
| |
Due to action key generation on ActionManager a wrong action
may be executed if the component that fired the wanted action
is already detached.
This patch makes action keys globally unique, simplifying the
approach of #8495 but reusing its tests.
Fixes #5864
|
|
|
| |
Requested feature: allow setting DateField to a certain starting point without selecting a value.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Picked from #9551 in 7.7
There's an intermittently happening issue with both Table and TreeTable,
which results in row data disappearing.
This change removes a method which is probably a vestigial one from over
five years ago and other changes are handling the things the method used
to perform. Currently the method removes rows deemed unnecessary from
the row buffer. The problem is, those rows are visible to the user and
removing causes row contents to be lost.
Also included are manually runnable test cases which demonstrate that
this removal actually prevents the issue from happening.
Fixes #7964
Fixes #5030
|
|
|
|
|
| |
by calling calendar.setTime(today);
after rollAmount has been initialized and given a value, we can reset the calendar's internal time back to the correct date. As it is currently implemented; calling calendar.getTime() will result in a wrong date, it returns the first of the month with the correct time.
The function addInitialEvents() is called AFTER the calendar's time has been subtracted from (by calculating the rollAmount), as such this results in an incorrect internal time and the 'Day' button does not switch to the correct day. Instead it shows the first of the month here too.
|
|
|
| |
Fixes #9788
|
|
|
|
|
|
|
| |
Picked from #9161
Fixes #7261
Fixes #5178
Fixes #4409
|
|
|
|
| |
Chrome 55 and later cause extra scrollbars on the testing cluster but
not in local tests, probably due to a rounding error in the browser.
|
| |
|
|
|
|
|
| |
IE10-11 have a related bug
https://connect.microsoft.com/IE/feedback/details/811408
that is only fixed in Edge.
|