akveo / akveo/ngx-admin

[Player]: Current time/progress of audio track is not updating live ?changeDetection issue

未关闭
#1,975 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
25.7k
派生
7.9k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [X] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**

The audio player on IoT dashboard in the example does not always update, only when mouse is moving or other events are happening. Seems like possible change detection issue?

**Expected behavior:**

The current time, progress bar, remaining time on the current track should be update live (e.g. each second the song plays), even if the tab is inactive or no other "events" are happening.

**Steps to reproduce:**

1. Open page: https://akveo.com/ngx-admin/#/pages/iot-dashboard
2. Click play on the audio player
3. Stop moving mouse or tab out to another window, watch as current time, progress bar do not update
4. Start moving mouse again or clicking and time will instantly update

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。