You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within an Edit page, when adding a new ReferenceInput/AutocompleteInput into an ArrayInput/SimpleFormIterator component, the hidden tooltip that gets created has an incorrectly calculated x-position parameter in its transform: translate3d property. When a user clicks the new field, the tooltip is not showing up properly, until they scroll the page.
Notice that the tooltip (suggestions list) is incorrectly positioned somewhere off the screen.
Scroll the window, and notice that it appears where it should be.
Go back to step 2 to repeat, but first inspect another AutocompleteInput's tooltip (suggestions list) that is already correctly positioned. When you add the new one, you can find the new element's transform: translate3d(xposition) was incorrectly calculated. Once you scroll the page, it auto-corrects.
React-admin version: 2.4.1
The screenshot above is the inspection of the AutocompleteInput fields that were added in the Array. The first element was already on the page with the correct x-position value (79px). The second was just added and has an incorrect position, until the user scrolls the page.
The text was updated successfully, but these errors were encountered:
kctrlv
changed the title
AutocompleteInput's tooltip's initial x-position is incorrectly caclulated when added via ArrayInput/SimpleFormIterator
AutocompleteInput's tooltip's initial x-position is incorrectly calculated when added via ArrayInput/SimpleFormIterator
Nov 15, 2018
Within an Edit page, when adding a new ReferenceInput/AutocompleteInput into an ArrayInput/SimpleFormIterator component, the hidden tooltip that gets created has an incorrectly calculated x-position parameter in its
transform: translate3d
property. When a user clicks the new field, the tooltip is not showing up properly, until they scroll the page.Steps to reproduce:
Please use the modified demo app @ https://codesandbox.io/s/jk89y91vw
transform: translate3d(xposition)
was incorrectly calculated. Once you scroll the page, it auto-corrects.The screenshot above is the inspection of the AutocompleteInput fields that were added in the Array. The first element was already on the page with the correct x-position value (79px). The second was just added and has an incorrect position, until the user scrolls the page.
The text was updated successfully, but these errors were encountered: