Take body scrolling into account when deciding combobox popup position (#19162)
For standard standalone Vaadin apps, the body scroll is not scrollable. For
these this change should have no effect.
In embedded cases and when running as portlet, the body is scrollable. For
these cases, the popup is now correctly shown below the combo box when
there is space.
Change-Id: Ia183f4f2988e6593634f6e9735fd58abbd4a1da1
This change also cleans up some redundant POM metaadata.
Even though Maven documentation does not list it, also the organization
section is inherited to the effective POM.
pom-template.xml is still in the project for a longer description and a
repositories section until publishing to staging is cleaned up.
Change-Id: I76b71aec1d2812e2f9ef321c3b4131c613a29cb7
This patch refactors how unpacking of dependencies is handled.
It now uses a more generic configuration on top level as well as
updates the phase where the extraction happens. This way the source
plugin configuration remains small
Change-Id: I952ec84e05eac255f8b44044baceba37e07737c5
Focus click element inside a drag'n'drop wrapper (#14826)
Focus inside a drag'n'drop wrapper does not work out of the box as mousedown is
cancelled to avoid text selection when starting a dnd operation.
This change explicitly calls focus on the element at the location which was clicked.
Input elements will now be able to gain focus but e.g. clicking to move the caret
inside a text area won't work as mousedown is cancelled.
Change-Id: I89e046ddb0b1044bc6a2f11fda4edbe5fda25743
Consolidate Ivy dependencies for Eclipse and ide.xml in one location
and remove redundant ivy.xml files.
This also fixes some theme and resource paths in ide.xml but does not
fully fix test theme compilation.
Change-Id: If44c73d7f85d02ebef379aa306e6e284fe7446c1
* UIDL responses only include server side timing information when not
in production mode.
* Update documentation accordingly.
Change-Id: I961d1fdc96b3d04f22254fcd13a5412f17118b42
Fix DragAndDropWrapper update after file upload (#19616)
After a file has been uploaded VDragAndDropWrapper tries to pull changes
from the server by calling
ApplicationConnection.sendPendingVariableChanges() which has no effect.
This change replaces the
ApplicationConnection.sendPendingVariableChanges() call with an RPC.
Change-Id: Ibdf7f4d702add9507dbe54c1fdb402f0f4b19d19
Do not process click events for disabled optiongroups (#19433)
This removes the warning logged on the server side when the RPC reaches it
for the disabled component. As this is more of a cosmetic change, there is
no automatic test.
Change-Id: I8bfa83bd0a26c585e1614d821ac3b598294db09d
Allow legacy components to paint infinity double values again (#19447)
JsonPaintTarget.addAttribute(String,double) converts infinity values to
{ "name": Infinity }. This is not valid JSON but has "always worked" and
at least NumberField relies on being able to send infinity values.
For state and RPC it's not possible to send 'infinity' as JsonNumber
converts those to null.
It is not possible to send 'infinity' back to the server using a legacy
variable either as also in this case JsonNumber is used and the value becomes
null.
This fix should be reverted when legacy variable support is removed.
Change-Id: I4b5366420e11915236eff447e3eeedc458cf8cea