Skip to content

[Tab] Async context must not replace different tab #3156

Open
@mvorisek

Description

@mvorisek

Bug Report

Steps to reproduce

  1. open https://dev.agiletoolkit.org/demos/interactive/tabs.php
  2. click "Dynamic Form" tab
  3. click (quickly - before the AJAX completes) other/"Hello" tab
  4. notice when the AJAX load of "Dynamic Form" tab finishes, the "Hello" tab is replaced

related with atk4/ui#2244

Expected result

When tab is switched, any ongoing async load must be canceled.

Actual result

Tab content must never be replaced with content of different tab.

Version

2.9.3/latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    state/awaiting-investigationAnything which needs more investigationstate/has-prAn issue which has a related PR opentype/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions