Issue with move actions

jasonadal
Community Member Posts: 439 ♪ Opening Act ♪
Hey all! I'm back at working with Lectora finally after a LONG haul with Canvas and a touch of Articulate. And of course, I manage to find a quirk I can't overcome and seeking some help! This one has some weird layers, so I'll try and explain best I can, but am also including an example.
I have 5 buttons on a page organized vertically. Button 1 is always in its initial position. When you click Button 1, the 4 buttons below it move down together in the same vertical order. Each button should move the buttons below it to those positions. Then, clicking one of the buttons at the bottom moves it AND all buttons above it back to their initial position, etc., etc.
I'm using the "move" function, and it works initially with each button. The problem is that it doesn't take much to break the overall functioning, depending on how you click around and I cannot figure out why. I even briefly tried using a variable to set the "position" to top or bottom, then making the move conditional on it's positioning.
Is this something with the move function, something with variables, or simply a time thing where I need to put a short delay on the moves? I'm stumped, so any help is welcome!
I have 5 buttons on a page organized vertically. Button 1 is always in its initial position. When you click Button 1, the 4 buttons below it move down together in the same vertical order. Each button should move the buttons below it to those positions. Then, clicking one of the buttons at the bottom moves it AND all buttons above it back to their initial position, etc., etc.
I'm using the "move" function, and it works initially with each button. The problem is that it doesn't take much to break the overall functioning, depending on how you click around and I cannot figure out why. I even briefly tried using a variable to set the "position" to top or bottom, then making the move conditional on it's positioning.
Is this something with the move function, something with variables, or simply a time thing where I need to put a short delay on the moves? I'm stumped, so any help is welcome!
0
Comments
-
Quick update - after more experimentation, the move actions work correctly provided I use variables to set whether a button is "up" or a button is "down" with an onClick. I initially tried setting a variable to the value and using that in the Move action, but it still didn't work. Not the most ideal scenario, but perhaps something for support or developers to look into further to see why a simple Move doesn't work, as far as I can tell.0
-
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 504 eLearning ROCKSTAR Admin TeamThank you for posting this example. Your example is simple and straight forward, and it works in Lectora Online as expected. We will take a look at why it is not working and we will fix it for v21, sorry for the inconvenience it has caused you.
- Joe0 -
It seems the error occurs when a button is told to move by an action but cannot move because it already is in its target position.
When you click button 1 it works, the other 4 move down. If you then click button 2, it will move up as expected, but if you later click button 3 the whole system will break because buttons 3,4,5 haven't moved after the click on button 2.1 -
Hey Tim - Thanks for looking at it. That's the behavior I saw as well - as soon as you add the third button, it eventually would "crash" and I couldn't nail down what specific combination caused it to break, if there even was one in particular.
Using a variable ended up working well - Each button was initially assigned its own variable with a default value of "up". When the button moved to the bottom, that value was changed to "down". Then, I set the "moves" to trigger only if the variable was "down". So far, I haven't been able to break it again, and this time it's with 8 buttons. Thank goodness for action groups and groups in general, because there's a set of images and other buttons that are shown or hidden based on each one.0 -
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 504 eLearning ROCKSTAR Admin TeamThis has been fixed for v21 and if you would like the fix for previous release please contact support. Thanks again for posting your issue with a reproducible example.1
-
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 504 eLearning ROCKSTAR Admin TeamPlease contact support, [email protected] they will have the patch file and instructions on how to apply it.0
-
robertdowney11k Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 1 ☆ Roadie ☆0
-
Anthony_Howell Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 0 ☆ Roadie ☆The error seems to occur when the button receives a command to move, but cannot move because it is already in its target position. When you press button 1, it works, the other 4 move down. If you then press button 2 it will move upwards as expected, but if you later press button 3 the whole system will break because the 3,4,5 buttons did not move after pressing button 2.
If you are new to YouTube blogging, you will need a lot of views and subscribers to move your channel to the top and get featured. https://soclikes.com/ perfectly helps to cope with these tasks.0 -
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 504 eLearning ROCKSTAR Admin TeamWe will be releasing v19.0.4 this week, and it includes the fix for this.2
-
Christianfisher Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 0 ☆ Roadie ☆You can make video about your issue and post it on tiktok. Learn from here https://diariodemadryn.com/do-i-need-to-buy-shares-to-promote-my-account-on-tiktok/ how to get many shares for your video. When you do it someone watch your video and help you-5
So You Wanna Be An eLearning ROCKSTAR?
Categories
- 4.4K All Categories
- 35 ✫ Announcements
- 5 ✪ Contests
- 33.6K eLearning Brothers® Products
- 33.2K Lectora®
- 31.3K Lectora Discussions
- 1.9K Lectora Feature Requests
- 56 Lectora User Groups
- 2 AssetLibrary™
- AssetLibrary Discussions
- 2 AssetLibrary Feature Requests
- 221 CenarioVR®
- 122 CenarioVR Discussions
- 99 CenarioVR Feature Requests
- 2 Rockstar Learning Platform®
- 1 Rockstar Learning Platform Discussions
- 1 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 108 CourseMill®
- 101 CourseMill Discussions
- 40 ReviewLink®
- 28 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 1 The Training Arcade®
- 1 The Training Arcade Discussions
- The Training Arcade Feature Requests
- 7 Additional Learning Products
- 2 Adobe®
- 2 Articulate®
- 1 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 892 All Things eLearning
- 3 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 5 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 544 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 2 Visual Design
- 323 Web Accessibility
- 1.2K ♪ The Green Room
- 3 ♡ Community Feedback
- 7 Community Tips