Add Padding to Content to Show Last Item#12
Add Padding to Content to Show Last Item#12mcastre wants to merge 1 commit intoss-javascript:masterfrom
Conversation
|
Hello @mcastre The point is that, as you said, the content's height is managed by jQuery. The problem, in fact, occurs because, when there is filter available, the content's height ignores it and calculates its size in a wrong way. Your solution works good when the popup has a filter, but doesn't work so well when there is no filter. In this case, we have an empty space in the bottom. In this case, there's a better solution which is in the JavaScript code directly. But if you don't mind, you and @coderwassananmol worked on the same bug fix, but the bug was reported by him. Would you mind if I give him the preference? I'd like to be fair enough. |
|
@StanleySathler thats no problem at all! I did have a question however. If there are no filters, would it be wise to even allow the popup to display? Wouldn't it just display an empty popup? |
|
Helloooo @mcastre I'm really, really sorry about taking too long to answer you. I didn't see this message in my notifications list before. I'm not sure if I understood your question correctly, so let me know if I'm not answering exactly what you asked. But as far as I know, when there is no filter - that is, the filter field is empty - all items are shown in the list. |

sth-select-contentbeing managed by jquery, the panel needs to recompensate for the remaining 50px. Adding a padding-bottom of 50px fixes the issue and also will not affect the list if the list is longer than the example provides. Hope you like!