Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJ Scot Angus
Courses Plus Student 5,891 PointsWhy doesn't width of Bootstrap 4 modal decrease when it first bumps up against the viewport @615px instead of at 544px?
I already spent 10 minutes typing this question out once ... then accidentally hit the escape key -- which dismissed the "Ask a Question" modal and therefore all my work. Ugh... that is REALLY frustrating.
Anyway... my question (interestingly enough, about modals) is this:
Why doesn't the bootstrap 4 modal adjust as soon as it bumps up against the viewport? right now, it's only doing this once the viewport his 544px ... but prior to that (starting at 615px), the viewport gets smaller than the modal, and so you can't see the whole thing.
Bottom line: I only want the form fields to stack once the viewport is smaller than the modal. What would be the point of stacking beforehand?
Here's my code snapshot:
ps. I wanted to keep my original question (which is now pasted below) active as a way of making pain points visible, but... now I can't seem to ask my question in the Community forum specific to the section of the class I'm taking. :(
Previous Question: accidentally hit "ESC" button and closed the "Ask a Question" modal ... after I'd spent 10 minutes typing my question! Argh!!
1 Answer
Shane Robinson
7,324 PointsAw, gotta love when that sort of thing happens. I've had bad experiences like that before, so now I just type everything up in a text editor first and then copy and paste it wherever (or copy by hand if it needs to be proof read).
J Scot Angus
Courses Plus Student 5,891 PointsJ Scot Angus
Courses Plus Student 5,891 PointsThanks Shane. Misery loves company. ;) Makes sense... it just makes a lot more sense to prevent accidents like these from happening in the first place (why not put a mechanism to confirm destructive action once a high character count has been detected inside the main text field?)
Hopefully the workflow here doesn't preclude my question from being surfaced to potential folks with answers.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsIt shouldn't affect you getting an answer, I unfortunately am not knowledgeable on this subject though. :\ I don't believe there is a way to prevent esc from doing it's business, but you made a great suggestion. You could always send it to help@teamtreehouse.com and since that is a pretty simple but helpful suggestion I wouldn't doubt it being accepted.
Hopefully someone will come along with an answer to your question. :)
J Scot Angus
Courses Plus Student 5,891 PointsJ Scot Angus
Courses Plus Student 5,891 PointsHmmm... it seems the block at the bottom where community members with a high probability of answering questions are displayed is now gone ... which means I have no way of soliciting them for an answer anymore. Which means that the question isn't likely to get answered.
That block should be displayed until the person who asked the questions has marked an answer as "Best Answer."
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsThat's odd, I guess I just never noticed that the list goes away after awhile. I didn't think that was the case though.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsIt could possibly be because I "answered", instead of adding a comment. I could delete my "answer" and see if that helps.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsThese three seem reliable: Tommy Gebru faraz Grace Kelly
J Scot Angus
Courses Plus Student 5,891 PointsJ Scot Angus
Courses Plus Student 5,891 PointsThanks Shane... I would love to ping Tommy for assistance, but I'm not sure how to do that in here. I guess I can just hit him up on twitter.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsWhen you mention somebody, like I did for those three, it will send them a notification here on TreeHouse. Hopefully one of them will see it soon enough.