Comments (3)
That's actually the intended behavior. The item should not be dismissed if there's a task in progress.
I fixed the bug that allowed the card to be dismissed if you swiped from the borders, but I can't think of a use case where it's useful to be able to swipe off a card when a task is in progress. Could you tell me why you'd want to do this?
from bulletinboard.
In my app I've Two-Factor Authentication and to enable it I want to make some requests. But during that requests user can change mind and swipe off Bulletin if he doesn't want TFA anymore . This behavior needed to not force user to wait until requests are completed.
Another example: I want to programmatically dismiss Bulletin just after a request completion and not to show success item (success will be shown with another UI elements).
And another one, not about dismissing, but maybe even more important than others: in the version I was fixing there was an issue than even if Bulletin cannot be dismissed and loading indicator is showing, you can swipe item, but loading indicator won't follow item, it will stay on the same place, which IMHO is not the best behavior.
So I think that at least last example gives the reason to fix the issue.
UPDATE:
I just get that you made card non-interacting while activity indicator is shown.
Then the last example is not needed, but as for me it would be better to give ability to programmer to decide wether the card can be dismissed or interacted while isUserInteractionEnabled
property, for example.
In iOS you can swipe/move/stretch anything that allows user-interacting and that is iOS distinctive feature. I think we should maintain this in our frameworks.
from bulletinboard.
You're right, it's definitely better to allow the programmer to decide the user experience for their apps. Fixing this before the next version ships.
from bulletinboard.
Related Issues (20)
- UIKitCore con < iOS 11 HOT 2
- 4.1.1 and 4.1.2 Blurview is clipped at the bottom of iPhone running iOS 13.6 HOT 5
- Xcode 12 - Double-quoted include in framework header, expecting angle-bracketed instead HOT 1
- iPad: do not show centered on the screen but on the bottom
- Add an option for manually setting dark mode on/off HOT 1
- Swift Compiler Warning: Cannot match several associated values at once HOT 3
- Crash on BulletinCloseButton HOT 1
- Crash when dismissing bulletin board HOT 2
- Swift: Buttons not working HOT 9
- Landscape mode HOT 1
- Add dismissHandler to BLTNItemManager
- Adjust tableView height when keyboard appears HOT 2
- SwiftUI life cycle example
- How to add textfield ? HOT 3
- Documentation & Youtube Video Links Broken. HOT 1
- SwiftUi support
- Could not find module 'BLTNBoard' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: .../Build/Products/Debug-iphonesimulator/BLTNBoard.swiftmodule HOT 1
- Wrong title will be used after set alternativeButtonTitle
- Background color for alternativeButton? HOT 1
- Corner Radius for BLTNPageItem.image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bulletinboard.