Justinmind-logo
 

Action operations not working as expected

Cynthia Cooper1 shared this problem 2 years ago
Solved

Replies (8)

photo
1

Apparently you can't attach or add .gif files or prototype files. Let me know if I can send them to you...

photo
1

Hi Cynthia,

This isn't an error. These events are not related (as two On Key Up events, for example, would be), so their order in the Events palette doesn't matter. You will know when event order is a factor when an 'arrow' icon appears in the Events palette.

5ed8695dd2906a038339f608770a0afb


If your goal is to have show a dropdown after "On Key Up", there's no need to create an "On Focus In" event here, because "On Key Up" implies that you are focused in on the Input Field.

If I'm misunderstanding your goal, please let me know. Also, you can upload any file here in .zip format.

photo
1

Hello,

Thanks for the response. If as you state:

If your goal is to have show a dropdown after "On Key Up", there's no need to create an "On Focus In" event here, because "On Key Up" implies that you are focused in on the Input Field.

Then there is an error in your software. Anytime I press a key the dropdown appears wether or not I have selected/focuses in on an input field.

photo
1

If needed I'd be happy to supply you with a video of this in action...just tell me where I can send it. Thanks.

photo
1

Looks like this a bug - the event should only trigger if you're focused in. I've sent it to our team and we'll fix it.

As a workaround, we can create a condition that will only allow the event to commence when the Input field isn't empty.

So create an "On Key Up" + "Show' event for the Input Field, with the Dropdown to be shown.

Then, create this condition for that event:

0f5b0a862d4af0d52a29dcc514e8a25e

photo
1

So, once the user has selected from the dropdown, how can I allow them to tab out (focus out of that form field) without the dropdown appearing again?

Typical functionality is for a user to hit the "tab" key. The problem with this is the key stroke "tab" allows the dropdown to appear again, even after the item has already been selected from the dropdown list.

I've tried to disable the dropdown after a selection has been made but the data list is not available to add events to. What is the solution within your software?

photo
1

If I'm understanding the goal correctly, we can add another part to the condition that initially shows the dropdown that will only show the dropdown if a selection has not been made. See attached prototype. If what you're looking for is different, let me know, and if possible attach the prototype here in .zip format so we can get a better idea of how to find a solution.

photo
1

Thanks I've tried to replicate the prototype functionality you provided but nothing seems to work. How do you get a ".selected" to show up in the condition? I've attached the prototype I'm testing out and would be happy for feedback on how to get it to function properly.

photo
photo
1

On Key Down/Up triggering incorrectly has been fixed in our latest update (8.7) that was released yesterday. Go to Help -> Check for updates in Justinmind.

Leave a Comment
 
Attach a file