Comments (4)
Hi, I have an issue when using your template, if I use this code
if (!currentFocus.hasPrimaryFocus && currentFocus.focusedChild != null) {
FocusManager.instance.primaryFocus?.unfocus();
}
The UI will rebuild when I tap inside and outside the text field. But if I only use
FocusManager.instance.primaryFocus?.unfocus();
without if statement, the keyboard hide and UI not rebuild. Could you help me explain why? Thank you!
Note: You can add a debugPrint on top of BlocProvider and inside a BlocBuilder to see it rebuild many time
from flutter-bloc-cleanarchitecture.
@datnguyennt I could not reproduce this bug on Flutter 3.10.5. Could you give me a sample code to reproduce the issue? And please provide me with the result of the command flutter doctor
from flutter-bloc-cleanarchitecture.
Hi @minhnt3 sorry for the late reply but I've fixed the issue. I have some questions about Bloc and Flutter, Can I have your contact?
from flutter-bloc-cleanarchitecture.
@datnguyennt Yes, you can connect to my LinkedIn account
from flutter-bloc-cleanarchitecture.
Related Issues (16)
- make run_dev gives errors on IOS HOT 5
- Bloc test HOT 4
- Error when run make sync HOT 1
- UI Issue when using stack with sticky textfield the textfield is no floating with keyboard. HOT 1
- Errors after last update HOT 1
- Not able to update app version HOT 1
- Flutter 3.10.4 HOT 6
- Flavor Reading Problem HOT 2
- Problem with Generating the code HOT 6
- failed build resources HOT 2
- Error from Clipboard to Data Model tool HOT 1
- Bloc to bloc communication HOT 4
- About StateError (Bad state: Cannot add new events after calling close) problem HOT 2
- separation by feature HOT 1
- how to use RouteGuards with AppRouter HOT 1
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 flutter-bloc-cleanarchitecture.