Comments (4)
Thanks for letting me know, I will see to it soon.
from textfield_tags.
Its working for me right now both on the web (chrome) and both mobile platforms. Anyone else experiencing this, please share.
from textfield_tags.
Thanks for taking a look into this. I have attached a photo of what I am experiencing (I just blurred out the content of the tags). As you can see, when full, there is no space to add more content as it does not slide over. Here is how the widget is being used:
Container(
margin: const EdgeInsets.symmetric(vertical: 50.0, horizontal: 50.0),
padding: const EdgeInsets.symmetric(vertical: 75.0, horizontal: 50.0),
alignment: Alignment.center,
width: 875.0,
decoration: BoxDecoration(
color: Colors.white60,
borderRadius: BorderRadius.circular(10.0),
),
child: FormBuilder(
key: model.formKey,
autovalidateMode: AutovalidateMode.disabled,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
...
Text('AUTHORIZED ACCESS EMAILS',
style: Theme.of(context)
.textTheme
.headline5
.copyWith(fontWeight: FontWeight.w500)),
const SizedBox(height: 15.0),
TextFieldTags(
initialTags: model.initialAuthorizedAccessEmailsList,
tagsStyler: TagsStyler(
tagTextStyle: TextStyle(
fontWeight: FontWeight.normal, color: Colors.white),
tagDecoration: BoxDecoration(
color: kPennRed,
borderRadius: BorderRadius.circular(0.0),
),
tagCancelIcon:
Icon(Icons.cancel, size: 18.0, color: Colors.white),
tagCancelIconPadding: EdgeInsets.only(left: 5.0),
tagPadding: const EdgeInsets.all(6.0)),
textFieldStyler: TextFieldStyler(
textFieldFilled: true,
textFieldFilledColor: Colors.white,
textFieldFocusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: kPennBlue, width: 3.0),
),
textFieldEnabledBorder: OutlineInputBorder(
borderSide:
BorderSide(color: Colors.grey[400], width: 1.5),
),
helperText:
'Enter the full and valid email addresses which will have full access to this organizer\'s account.'),
onTag: (tag) => model.addEmail(tag),
onDelete: (tag) => model.deleteEmail(tag)),
const SizedBox(height: 50.0),
...
],
),
),
),
Again, this is only being seen on web and changing the window size does not affect it as the TextFieldTags is within a width constrained Container. Again, thank you for looking into this!
from textfield_tags.
Okay so I was able to reproduce your issue.
Remember that the width of the gap between the tags and the TextField border to the right is being calculated based on the width of your device and altering the width of its container will affect the width of the TextFieldTags
in relation to the width of the device. I hope that makes sense.
So basically, right now, you have 2 choices.
- Remove
width: 875.0
from your container - Change the the property of
tagsDistanceFromBorderEnd
to something liketagsDistanceFromBorderEnd: 0.45
insideTextFieldTags
because to artificially mimic the width of the device in relation to the width of theTextFieldTags
widget.
from textfield_tags.
Related Issues (20)
- typing area is not visible when tags are more then current width HOT 1
- TextField Controller HOT 2
- Enable (Read Only) feature not available HOT 1
- onTag event fires twice. HOT 2
- Vertical scrollable tagfield ? HOT 3
- Limit the number of tags? HOT 3
- Breaking changes comming up after V2.0.0+ release (BE AWARE BEFORE UPDATING) HOT 2
- A FocusNode was used after being disposed HOT 25
- How to avoid empty tag? HOT 6
- warning after flutter 3.0 HOT 3
- Error HOT 2
- How to delete the Tag Based on Index value.[How to get the index of the Tag] HOT 1
- textSeparators issue HOT 21
- null safety error HOT 4
- How to use multiple lines in a textfield instead of one scrolling line? HOT 2
- Prevent paste long text (include free spaces) HOT 1
- Add custom data type support HOT 1
- set required validation HOT 1
- Has sign remove to search issue HOT 2
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 textfield_tags.