Bug with group focus

I think many of us naturally like to Toggle a group focus.

Now we end up more if conditions + workflows to handle this case… #sad

It’s a small tweak that is broken

Absolutely agree. What are weekends for ? No confederation has been taken here about working code using Toggle operator… Has Bubble similar now removed Toggle from the user manual ?? this is simply irresponsible

@dbyrne Quick fix for it →

Any chance this update is having more ramifications? In our case, we can´t display data read from APIs.
Our app was working fine Friday, even yesterday. Today we made a couple of changes when we started to notice the problems. We rolled it back to yesterday’s version and Friday’s version (when the app was running fine), but we have the same problem.

In the screenshot below you can see how the text with red background should display a text received from an api call, but for some reasons it is not been rendered…

Screenshot 2021-03-15 at 18.00.53

@santanahugo752 Unlikely to be from this update, though it’s possible you’re running into something else – would you mind submitting a bug report? Thanks in advance!

@dbyrne Again – sorry for the inconvenience! Your runmode shouldn’t be affected, and @w.fly’s fix is a great option for this. Toggle has been removed only for Group Focus elements, since its behavior was incongruent with the Toggle action for all other elements; everything else should still work as expected.

I can run App in Dev with the “Error” I need to deploy and I don’t have the time for this mess.
Help please

I would like to go to run mode. but I’m not allowed to deploy due to these so called errors. It is really quite unacceptable what Bubble got up to over the weekend , re-writing the user manual in effect

I’s Bubble playing " my way or the highway " and never mind the users
Well this event has been recorded.

Thank you @eve and @aless for the update and clarification!

and what if you actually want to Toggle from the last Show/Hide state ???

The @w.fly is a half fix / half broken as it leaves dropdowns in an open state… that’s why you have Toggle… it will have do for now I don’t have the time to be messing with this and suffer the consequences of bad UX as a result

Not as simple as a toggle but this was my fix…

  1. When icon is clicked > show GroupFocus
  2. Duplicate the icon you click to show the GroupFocus > Add condition “when GroupFocus is visible this icon is visible”
  3. On the duplicated icon > Hide GroupFocus
2 Likes

Actually that’s a really good point - It’s kinda forced a “2 step” approach instead of just putting a Toggle.

which is why we have Toggle in the first place

1 Like

I can see the frustration now - My icons now require 2 workflows to show/hide a group focus IF someone clicks that icon again (Let’s say I have an icon that you click to show a menu… then if you click the icon again, it hides the menu). Yes @aless clicking anywhere away from the group focus hides it automatically… but, if you want to use the same icon to hide the group focus, I’ve gotta setup a conditional to handle it.

Anybody have any examples of where “toggle” was confusing them? Perhaps I’m in the minority, but it has always made sense to me.

3 Likes

Hopefully this helps someone here. This was my solution to the toggle problem…

  1. When icon is clicked > show GroupFocus
  2. Duplicate the icon you clicked to show the GroupFocus > Add condition “when GroupFocus is visible this icon is visible”
  3. On the duplicated icon click > Hide GroupFocus
2 Likes

I’m sorry to say that the removal of Toggle as was , is generating so much trouble . We have a lot of dependency on perferctly working code that uses Toggle which frankly has been Vandalised by your “improvement” … Can you not tamper with what worked ?
Now I’m being held hostage by 5 of these toggle errors in a highly critical component ( reusable plugin ) …

You could have left “Toggle” alone and if you wanted add a new Toggle2 or something … that at least would have made some sense and left legacy code alone

Would it be possible to open up custom events to visual elements(maybe specifically the group focus in this instance if all elements would be too much), sort of how you can pass a thing into a custom event? It could even work by creating a new custom event just for elements and then in the custom element event, you can do a two-step toggle. Maybe a plugin could also do the job. This way all you’d have to do is create the custom event once, and pass elements to it when needed.

I have to agree with the others. I strongly advice Bubble to restore Toggle in a Focus Group, toggle make it way easier.

The update doesn’t make sense to be honest.

5 Likes