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

[bug] Issues with ion-list in last nightly version #1202

Closed
10 of 11 tasks
gastonbesada opened this issue Apr 24, 2014 · 13 comments
Closed
10 of 11 tasks

[bug] Issues with ion-list in last nightly version #1202

gastonbesada opened this issue Apr 24, 2014 · 13 comments

Comments

@gastonbesada
Copy link

#1024

Thanks

@gastonbesada gastonbesada changed the title Issues whit ion-list in last nightly version Issues with ion-list in last nightly version Apr 24, 2014
@gastonbesada gastonbesada changed the title Issues with ion-list in last nightly version [bug] Issues with ion-list in last nightly version Apr 24, 2014
@ajoslin
Copy link
Contributor

ajoslin commented Apr 25, 2014

Hi @gastonbesada!

Thanks for the super detailed bug report. awesome job. Looking at all of these.

@ajoslin
Copy link
Contributor

ajoslin commented Apr 25, 2014

Checked off the ones that I fixed. Here are the ones that I won't fix / can't reproduce:

7 -- The buttons don't have the same width because the content isn't the same. You can set a css class to make them the same if you wish.
8 -- Unfortunately, this is not possible to do with the current css to cover all use cases. We could vertically center the text, but it would make it so multi-line text wouldn't work. You can manually set this with a css class if you wish (line-height: 79px)
10 -- I couldn't reproduce this sort of problem; are you sure you're properly removing the item from the array after deleting it?

Thanks again @gastonbesada!

@ajoslin ajoslin closed this as completed Apr 25, 2014
@gastonbesada
Copy link
Author

@ajoslin Thanks a lot for review all issues!
7 and 8 - Worked 100% with custom CSS, you can close these issues:
.button-swiped {
width: 100px;
line-height: 79px;
}
10 - I need more time to review your suggestion. I'll give you feedback soon.

Thanks again.

@gastonbesada
Copy link
Author

Hi @ajoslin I tried the last nightly version 1838. I saw you merged the changes already, great work!
1: Open, now a similar issue happen when the list is scrolled down.
2: Closed in iOS, but still open in web (mouse click).
3: Open in both, iOS and web.
4: Closed in iOS, but still open in web (mouse click).
5: Open. What I'm trying to say is, I don't want to see the gray (active selector CSS) when I tap/click the item when I start the swipe (or drag) items. The swipe will be prior to tap.
5: Closed in both.
6: Closed in both.
7: Closed
8: Closed
9: Open. Same Issue. https://dl.dropboxusercontent.com/u/30682887/ion-list-option-buttons-not-working-on-ios.mp4
10: It is not an ion-item issue. I'll open a new issue with this.

@gastonbesada
Copy link
Author

@ajoslin Regarding item 9, I think that the issue could be solved if the item closes the option buttons when a button is pressed. Like when I swipe a closed item when other item is opened. For example, an option button activates an action sheet, when the action sheet is closed, then it closes the option button item too. How can I do this programmatically?
This use case will not work in the case that the action sheet have a Cancel button, then the Control button in the item should be remain opened. Thanks

@ajoslin ajoslin reopened this Apr 25, 2014
@gastonbesada
Copy link
Author

Also, I opened a new topic in ionic forum for the issue 10: http://forum.ionicframework.com/t/problem-when-removing-items-from-scope-array/3406
Thanks

rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
rotorgames pushed a commit to rotorgames/ionic that referenced this issue Apr 26, 2014
@ajoslin
Copy link
Contributor

ajoslin commented Apr 29, 2014

Sorry about the above commit spam.... O_O

1: Fixed the reorder really this time
5: May have been fixed separately, can you try again with the nightly version?
9: It should work on a phone

@gastonbesada
Copy link
Author

@ajoslin Awesome work! Thanks and don't worry about the commit spam.
A question about option buttons swipe animation: Are you using ease-in-out? If yes, Could you change it to ease-out and a little more faster?
This is the items status with some comments and a new 1b issue (sorry for the double 5):
1: Open :( Now, I tried with a bar-subheader, and the same issue.
1b: (new) When I reorder an item down is working fine, the item that I'm reordering, takes the upper margin of the down item to make the switch between items, but when I reorder an item up, it's taking the upper margin of the upper item too, this way, I need overtake the upper item to make the switch. Could you take the bottom margin of the upper item when the item is reordering to up? Or, maybe it will be easy if you use middle margin in both.
2: Closed in iOS, but still open in web (mouse click).
3: Open in both, iOS and web. Maybe it should close the option buttons instead of the href.
4: Closed in iOS, but still open in web (mouse click).
5: Closed in iOS, but still open in web. Just only a minor comment: now, the tap (in iOS) changes the active selector css with a long tap but not with a short tap. I like this situation more than the previously, but if you can, you could change it.
5: Closed in both.
6: Closed in both.
7: Closed
8: Closed
9: Closed. The issue happen when I use an alert but not with console.log. I assume that it will work fine with other function.
10 Closed.

Thanks a lot.

@taylorotwell
Copy link

Is the option button vertical alignment (8) supposed to be fix in the latest beta? I still can't get that to work?

@ajoslin
Copy link
Contributor

ajoslin commented May 14, 2014

Fixing 1 and 1b.

@ajoslin
Copy link
Contributor

ajoslin commented May 14, 2014

Fixed! Lemme know how it works.

Apologies for the long wait :-)

@gastonbesada
Copy link
Author

Thanks @ajoslin 1 and 1b working 100%.
Could you review the point 3? It's a minor issue.
I'll open a new Feature request to make an animation when an item is deleted.

Thanks again

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants