Skip to content
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

Tabs: Veto of tab swapping is not working #1578

Closed
lpagdanganan opened this issue Oct 27, 2023 · 8 comments · Fixed by #1652 or infor-design/enterprise#8552
Closed

Tabs: Veto of tab swapping is not working #1578

lpagdanganan opened this issue Oct 27, 2023 · 8 comments · Fixed by #1652 or infor-design/enterprise#8552
Assignees
Labels
timebox Set a time limit to fix type: bug 🐛 [3] Velocity rating (Fibonacci)

Comments

@lpagdanganan
Copy link

Describe the bug
Using soho tabs, the beforeActivated event's veto of tab swapping is not working. Even if the beforeActivated return false, the swapping of the tab proceeds.

To Reproduce
Steps to reproduce the behavior:

  1. Use soho tab, add 2 tabs.
  2. Add beforeActivated event and trigger a function.
  3. Set the function to return false.
  4. In the UI, click another tab. The tab swap (which should veto) proceeds which is the bug.

Expected behavior
The tab swapping is vetoed.

Version

  • ids-enterprise-ng: 16.8.3

Screenshots
image

Platform

  • OS Version: Windows 10
  • Browser Name Chrome
  • Browser Version: Version 118.0.5993.71 (Official Build) (64-bit)
@tmcconechy tmcconechy changed the title Veto of tab swapping is not working Tabs: Veto of tab swapping is not working Oct 30, 2023
@tmcconechy
Copy link
Member

Can you attach an example so its clear how to set this up? Can use https://stackblitz.com/edit/ids-quick-start-1681

@lpagdanganan
Copy link
Author

Hi @tmcconechy,
Please check this.
https://stackblitz.com/edit/ids-quick-start-1681-2cd5wt?file=src%2Fapp%2Fapp.component.html

Also, I already had discussion in teams with @tjamesallen15. Thanks

@lpagdanganan
Copy link
Author

Hi @tmcconechy,
Is there any update on this one?
Thanks

@tmcconechy
Copy link
Member

@tjamesallen15 get any chance to review this again?

@lucacolumbu lucacolumbu added the timebox Set a time limit to fix label Nov 29, 2023
@lpagdanganan
Copy link
Author

Hi @tmcconechy / @tjamesallen15 , do we have ETA for the fix? Thank you.

@tmcconechy
Copy link
Member

tmcconechy commented Dec 6, 2023

@lpagdanganan

We decided to timebox this which means we are'nt confident there is a simple fix we can do. But assuming we fix will be in 4.91 which is slated for first week of Jan.

Do keep looking on your end because Im not certain its really a component issue, its more about the implementation of vetoing that you want to do vs it linking.

@lpagdanganan
Copy link
Author

Hi @ericangeles,
Any update on this? Thanks

@ericangeles
Copy link
Contributor

ericangeles commented Feb 15, 2024

Hello @lpagdanganan, we'll try to address it in this February sprint as we still have other important tasks to prioritize. Is this a blocker on your end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
timebox Set a time limit to fix type: bug 🐛 [3] Velocity rating (Fibonacci)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants