React-admin: AutocompleteInput suggestions appear outside of screen (to the right) when inside ArrayInput

Created on 31 Aug 2018  Â·  11Comments  Â·  Source: marmelab/react-admin

Bug report

Steps to reproduce:

Please check this sandbox: https://0mny4j7zon.codesandbox.io/#/comments

  • Click edit in a comment
  • If you click "Add" on the post array, AutocompleteInput loads and shows the suggestions
  • Navigate away, e.g. click "Show" on top
  • Go back to edit the same comment
  • If you click "Add" on the post array now, suggestion appear way to the right outside the screen
  • If you try to scroll using the horizontal scroll bar the suggestions jump to the correct location
bug

Most helpful comment

@fzaninotto @djhi here it is.
(tested in Chrome and Firefox, both in Windows and Linux)

peek 2018-09-03 10-29

All 11 comments

It should be fixed with #2240 which will be released in 2.2.3

OK thanks, I missed that issue!

@djhi issue seems to still be present in 2.2.3 (check codesandbox link above)

Correction: The suggestions actually appear but way to the right (check horizontal scroll bar).
When you try to scroll horizontally the suggestions suddenly jump to the correct location.

PS: Will update the issue

Could you join a screencast, and more details about your browser and system?

Absolutely, how can we schedule that?

On Fri, 31 Aug 2018, 17:47 Francois Zaninotto, notifications@github.com
wrote:

Could you join a screencast, and more details about your browser and
system?

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/marmelab/react-admin/issues/2256#issuecomment-417724434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuSaLejgS99mOtzsxwPMyWDQBuNJGCks5uWWiggaJpZM4WVBTS
.

I think @fzaninotto meant a video recording of the issue

Oh ok, I'll send something on Monday.

On Fri, 31 Aug 2018, 18:50 Gildas Garcia, notifications@github.com wrote:

I think @fzaninotto https://github.com/fzaninotto meant a video
recording of the issue

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/marmelab/react-admin/issues/2256#issuecomment-417741681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuSV96cvca7jwBDb8n5TyQqk1MH_kRks5uWXdQgaJpZM4WVBTS
.

@fzaninotto @djhi here it is.
(tested in Chrome and Firefox, both in Windows and Linux)

peek 2018-09-03 10-29

Issue is still present in 2.4.0
Any idea where one can start debugging this?

I can no longer reproduce this issue in 2.8.5. I think it can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicgirault picture nicgirault  Â·  3Comments

ericwb picture ericwb  Â·  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  Â·  3Comments

marknelissen picture marknelissen  Â·  3Comments

phacks picture phacks  Â·  3Comments