Skip to content

Text/markdown widget doesn't leave edit mode when user clicks elsewhere in same row (6.0.0rc2) #35486

@sfirke

Description

@sfirke

Bug description

  • Create a dashboard
  • Add a text/markdown box, click in it
  • Click away, elsewhere in the row - the box stays in edit view
  • Only when the user clicks elsewhere on the screen above or below the row does it revert to view mode

That's how I was able to produce this screenshot with two charts in edit mode:

Image

This is a regression from 4.1.3. In 4.1.3, if you put two such widgets next to each other, when you click on one, the other correctly changes from edit to view mode. The correct behavior is for clicking anywhere outside the widget to revert it to edit mode.

Now that I know the deal, I can work around it, but it was frustrating until I figured out the pattern.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

Not applicable

Node version

Not applicable

Browser

Firefox

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Cherried

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions