Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Course Dashboard - Scrolling gets disabled sometimes (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir committed Oct 18, 2017
1 parent 41f290c commit a227e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/CourseDashboardViewController.swift
Expand Up @@ -215,7 +215,8 @@ public class CourseDashboardViewController: UIViewController, UITableViewDataSou
public override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
environment.analytics.trackScreen(withName: OEXAnalyticsScreenCourseDashboard, courseID: courseID, value: nil)

view.setNeedsLayout()
view.layoutIfNeeded()
}

public override func viewDidDisappear(_ animated: Bool) {
Expand Down

0 comments on commit a227e61

Please sign in to comment.