Skip to content

Commit

Permalink
added cancelsTouches, updated podspec and updating changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormesquita committed Sep 18, 2017
1 parent b42a8d5 commit 21cbbe0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,16 @@
> **Implemented enhancements:**
>
> - Create `MalertViewControllerCallback` to change responsibility of dismiss for `Malert`
>
> ### [1.1.4](https://github.com/vitormesquita/Malert/tree/1.1.4)
>
> **Implemented enhancements:**
>
> - Added `clipToBouds` and removed `customViewCorners()` from MalertView
>
> ### [1.1.5](https://github.com/vitormesquita/Malert/tree/1.1.5)
>
> **Fixed bugs:**
>
> - Added `cancelsTouchesInView=false` in MalertViewController `tapRecognizer` for not cancel subviews touch
>
2 changes: 1 addition & 1 deletion Malert.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Malert'
s.version = '1.1.4'
s.version = '1.1.5'
s.summary = 'A simple, easy and very customizable alert'

# This description is used to generate tags and improve search results.
Expand Down
1 change: 1 addition & 0 deletions Malert/Classes/ViewController/MalertViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class MalertViewController: BaseMalertViewController {
super.viewDidLoad()

let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapOnView))
tapRecognizer.cancelsTouchesInView = false
self.view.addGestureRecognizer(tapRecognizer)
listenKeyboard()
}
Expand Down

0 comments on commit 21cbbe0

Please sign in to comment.