New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wagtailuserbar. Warning window position #11540
Comments
Hey @ACK1D , I am trying to recreate this issue, but I am getting the Wagtail demo page instead of the bakerydemo. I followed all the steps for wagtail_bakery. Can you tell me where I am missing something or some documentation to refer? Your answer on this matter would be appreciated. |
@BkPankaj step by step:
|
@ACK1D Thank you for replying quickly. If I'm not mistaken, your issue is related to the warning box appearing in the right and middle of the screen instead of being positioned according to the wagtailuserbar at the left top and left bottom. Am I correct? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Hi, I would like to work on this issue. Is there a simple way to trigger a warning in the bakery demo project? |
@anees-asghar if you go to http://localhost:8000/breads you should be able to see one error about skipping heading levels. |
@laymonage Although that warning does not appear for me in the "breads" endpoint, I realised I can open the warning box manually from the user bar, which is what I wanted. Thank you for the help. I was able to reproduce the issue following @ACK1D's instructions. |
Hello, just to update on the progress and on my approach to fixing the issue. The I ran into a hurdle because My solution to this is for This ensures that the accessibility dialog follows the position of the user bar, as well as allows users to instantiate their custom overridden accessibility item like they would normally. I was able to implement this solution locally and I get the expected behaviour. All tests still pass. I am working on tests to complement this fix. Any input is appreciated :) |
There are problems with the positioning of the wagtailuserbar. The warning window is statically bound to one place. If when positioning right top or right bottom it can still be used, then when positioning userbar on the left side of the screen the warning appears in the middle of the screen on the right edge looks strange.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: