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

Events does not appear (sometimes) only in IOS #163

Open
victorglomer opened this issue Oct 16, 2017 · 4 comments
Open

Events does not appear (sometimes) only in IOS #163

victorglomer opened this issue Oct 16, 2017 · 4 comments

Comments

@victorglomer
Copy link

Hi, my calendar works fine in browser (safari and chrome), and Android too.
But when I use it in IOS, the calendar shows up, but not the events.

I read that can be the time in safari, but I receive startTime and endTime in timestamp from api.
More info:

  • the events exists, and sometimes they are shown, sometimes not
  • when I scroll the calendar down (Update...) for 1 pixel or more, THE CALENDAR SHOWS UP, like magic (not update, just scroll down)
    -when I'm in debugging the elements, and i remove or add some class or style from the table (event-detail) ou .scroll, the events shows up, like magic again.
    -Unfortunately, when i change through .css() Jquery, the magic doesnt work
  • 90% of this issue occurs when I press the "back" button

Any clue?

@victorglomer
Copy link
Author

captura de tela 2017-10-16 as 17 44 06

@twinssbc
Copy link
Owner

@victorglomer Based on your description, I don't think it's because of the timestamp issue. It's more likely related to the css style. How do you declare the calendar in your HTML file? Did you customize any css style for the calendar?

@victorglomer
Copy link
Author

the view:

<ion-nav-title>{{tituloPagina}}</ion-nav-title>
<ion-content class="" scroll="true">
    <ion-refresher pulling-text="Atualizar..." on-refresh="atualizar()"></ion-refresher>
    <calendar 
        ng-model="calendar.currentDate" 
        event-source="calendar.eventSource" 
        title-changed="onViewTitleChanged(title)"
        no-events-label="Nenhuma atividade para este dia"
        step="30">
    </calendar>
</ion-content>

@victorglomer
Copy link
Author

There was some css for the calendar. I'll remove it and test now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants